Ask HN: Master solving any DSA qns that are not restricted to leetcode qns?

3 points by dev_0 ↗ HN
I mean most people can solve leetcode problems after mugging the questions. How do you gain independent DSA skills?

3 comments

[ 3.5 ms ] story [ 20.0 ms ] thread
You're missing the point of leetcode practice (as stupid as the practice is, to begin with). The idea is to recognize patterns in different types of problems and general solutions to those patterns. Brute forcing your way through hundreds of problems with the goal of memorizing solutions is absolutely the wrong (and incredibly time-consuming) way of doing it.
To recognize the patterns, you need to memorize the patterns
Yes! Just don't fall prey to pareidolia or paranoia.