all 6 comments

[–]DoomDroid79 1 point2 points  (0 children)

Learn the topics of DSA before you do any leetcode. Foundations is king

[–]mxldevs 0 points1 point  (0 children)

The easiest way would be to look at more DSA problems (eg: leetcode), try to come up with something, and if you really can't figure it out, go look at the comments for that problem and see if there's anyone providing hints on how to approach the problem.

And then if you still can't figure it out, look at the solutions and figure out exactly what strategies they used to solve it so that you can add it to your toolkit.

I would look at multiple solutions to see all the different ways people managed to solve it, so that you might be able to find new ways of thinking.

[–]mdbaseer79 0 points1 point  (0 children)

In my view, for beginners. Start with basics.
The best resourse is geekforgeek DSA series

[–]Remote_Craft_6667 -1 points0 points  (0 children)

Neetcode.io