Skip to content

Instantly share code, notes, and snippets.

@tykurtz
Last active November 15, 2024 17:13
Show Gist options
  • Save tykurtz/3548a31f673588c05c89f9ca42067bc4 to your computer and use it in GitHub Desktop.
Save tykurtz/3548a31f673588c05c89f9ca42067bc4 to your computer and use it in GitHub Desktop.
Grokking the coding interview equivalent leetcode problems

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

Misc

@lamquangtruongnguyen
Copy link

Thanks for sharing

@alanacevedo
Copy link

Thanks

@branden-floris
Copy link

Hi,

I do see a couple of new patterns in the Grokking the Coding Interview: https://www.designgurus.io/course/grokking-the-coding-interview

Backtracking: https://www.designgurus.io/course-play/grokking-the-coding-interview/doc/63d3bcd7f81b8e2fe5ded81c
Multi-threaded: https://www.designgurus.io/course-play/grokking-the-coding-interview/doc/63a5ce68923d029fb1c4b4ec

Does anyone have the list of equivalent LC questions, especially under Multi-threaded?

@dhan206
Copy link

dhan206 commented Jun 27, 2023

@dhan206
Copy link

dhan206 commented Aug 23, 2023

@dhan206
Copy link

dhan206 commented Aug 28, 2023

@khemtwt11
Copy link

Thanks to everyone.

@DeveshKrishan
Copy link

You're the goat!

@HassanQayyum1993
Copy link

Hi, Is it legal to share this course notes on GitHub?

@iamk-shubh
Copy link

@i-zanis topological orderings are not unique right?

yes .. they may vary

@anand27
Copy link

anand27 commented Dec 9, 2023

can someone share the updated list ?

@navidre
Copy link

navidre commented Jan 5, 2024

I built this GPT for personalized mock interviews. Any programming language. With detailed feedback. Needs ChatGPT Plus for now: https://chat.openai.com/g/g-ngDadz7qM-mock-interviewer

@LeetStream
Copy link

https://leetstream.github.io/
It offers daily LeetCode problems categorized under 26 patterns, shuffled to ensure spaced repetition across different coding patterns.

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