Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@thrownullpointer
Forked from tykurtz/grokking_to_leetcode.md
Last active October 14, 2022 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thrownullpointer/cbfe4ec2285909b580cb09e91e0ce1b1 to your computer and use it in GitHub Desktop.
Save thrownullpointer/cbfe4ec2285909b580cb09e91e0ce1b1 to your computer and use it in GitHub Desktop.
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

These leetcode problems are similar to the problems found in grokking-the-coding-interview. Trying these leetcode problems after learning the patterns in grokking is worthwhile practice. The main advantage of grokking is a detailed explanation per problem and grouping problems under common patterns.

grokking can be permanently bought from here. Lifetime access is $79, but 20% off coupons frequently appear on the site. Subscription based access through educative.io is another option.

Pattern: Sliding Window

Pattern: Islands (Matrix Traversal)

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