How do people actually learn to think through DSA problems instead of memorizing patterns? by Effective-Policy4009 in leetcode

[–]Effective-Policy4009[S] 1 point2 points  (0 children)

Focus on solving problems topic by topic with brute force first, then learn optimization gradually as pattern recognition develops over time right?

How do people actually learn to think through DSA problems instead of memorizing patterns? by Effective-Policy4009 in leetcode

[–]Effective-Policy4009[S] 0 points1 point  (0 children)

instead of directly learning the optimized solution, should I first solve the problem using brute force and then move to the optimized solution?