I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.
So below I made a list of leetcode problems that are as close to grokking problems as possible.
- https://leetcode.com/problems/maximum-subarray/ # Close enough Approach 1 and 2, Dynamic programming, Kadane's algo - if subarray neg, drop and move on