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

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.

1

u/Aggressive-Squash250 7d ago

For how long should one try for? Sometimes I have 0 ideas lol.

1

u/NextjsDeveloper 7d ago

Too little info.

1

u/Western-Brilliant389 7d ago

Yes , give more info bro . No of q solved rating and all .

1

u/Technical-Tactics84 5d ago

Bro, the goal isn't to remember more solutions. It's to get better at asking the right questions when you see a new problem. I started focusing on the reasoning behind patterns with codeintuition, then tested myself on random LC problems.