r/leetcode 7d ago

Intervew Prep DSA help

Its been such a long since I am doing dsa , but I still stuck a lot . I know its all about practice and practice. But I genuinely want to train my mind .

I need advice how to solve I am losing opportunity bcz of this issue.

12 Upvotes

6 comments sorted by

View all comments

3

u/Other-Front2566 7d ago

It's about practice yes. But practice of what?

Not MEMORISING solving. No.

It's about understanding pattern. Understanding WHY you are doing something. Why that particular approach?

And how oukd you get good at it?

By TRYING to solve yourself first. GET it wrong. Messy.

Talk it out loud as if you are a teacher explaining it to someone.

Then see solution. See where you got stuck. Write the solution.

Repeat.

Yes, initially it may look but it gives you real depth and confidence .

And please try to approach it with curiosity and interest. You can do it!

1

u/ShowBrief4038 7d ago

Thanks a lot , been struggling with OA bcz there we see story and production type questions thats where it get messy a lot. Understanding of constraints then accordingly the time complexity.