Skip to content

Instantly share code, notes, and snippets.

@motaher13
Last active January 21, 2023 17:21
Show Gist options
  • Save motaher13/8bc551afda722a5a97853de076eb82c1 to your computer and use it in GitHub Desktop.
Save motaher13/8bc551afda722a5a97853de076eb82c1 to your computer and use it in GitHub Desktop.

GROKKING NOTES

The following problems are equvalent of Grokking the coding interview course, and solutions are also attached

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