6
Grokking the coding interview equivalent leetcode problems
source link: https://gist.github.com/tykurtz/3548a31f673588c05c89f9ca42067bc4
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
GROKKING NOTES
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.
Pattern: Sliding Window
Pattern: Two Pointers
Pattern: Fast & Slow pointers
Pattern: Merge Intervals
Pattern: Cyclic Sort
Pattern: In-place Reversal of a LinkedList
Pattern: Tree Breadth First Search
Pattern: Tree Depth First Search
Pattern: Two Heaps
Pattern: Subsets
Pattern: Modified Binary Search
Pattern: Bitwise XOR
Pattern: Top 'K' elements
Pattern: K-way merge
Pattern: 0/1 Knapsack
Pattern: Topological Sort
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK