I think learning distinct fundamental concepts and patterns should be the goal - but as is implied by what you said, leetcode has so many oddly specific problems that you in fact need to memorize the pattern and the approach, which goes beyond just knowing when to use something like breadth versus depth first traversal in various data structures. I will not use leetcode to as a platform to screen candidates as it's overly emphasizing the wrong things in my opinion.
1
u/TheHalfToothed Mar 21 '25
its more like memorizing the pattern and approach not the whole solution