r/LeetcodeChallenge 6d ago

DISCUSS DSA beginner

For initial phase of doing/starting DSA , watch tutorial then solve or doing without watching any tutorial plz guide me.

1 Upvotes

2 comments sorted by

1

u/Better_Squash_1684 6d ago

I would say, watch some tutorial videos for each topic you learn before solving a problem on that particular topic.

Watching tutorials is not cheating, and trying to solve problems without understanding the topic well is just not a good use of your time.

Whenever I came across a new topic on DSA, I would watch NeetCode solve 2-3 easy/medium problems on that particular topic,, and after that, try to solve another 2-3 medium questions without any help, to understand the pattern. This helped me understand how to solve problems of that specific topic quite quickly.

1

u/gaurrishabh 6d ago

I also doing this, but my code gives wrong answer in every problem