Skip to content

Instantly share code, notes, and snippets.

@SandKierkegaard
Forked from tykurtz/grokking_to_leetcode.md
Last active September 22, 2022 14:38
Show Gist options
  • Save SandKierkegaard/2f656fbad8d604251c9440021d9ecdd8 to your computer and use it in GitHub Desktop.
Save SandKierkegaard/2f656fbad8d604251c9440021d9ecdd8 to your computer and use it in GitHub Desktop.
Grokking coding problems

GROKKING NOTES

So below I made a curated 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

Misc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment