eg: pick more sliding window pattern, dp, greedy vs pick less for binary tree/dfs problems.
Further, how does a naive person know which pattern applies to a problem? Without that knowledge, how can I vet a learning resource and know I’m not wasting my time?
https://hackernoon.com/14-patterns-to-ace-any-coding-intervi...
> Further, how does a naive person know which pattern applies to a problem? Without that knowledge, how can I vet a learning resource and know I’m not wasting my time?
Problems in leetcode have tags under "related topics" and you can look at discussions to find out the pattern.
That said, sometimes its not simple pattern matching. Its an itution that you can develop if you keep solving leetcode problems.