What you'll learn in Grokking Coding Interview: Patterns for Coding Questions
- How to recognise the pattern behind a coding question, so one technique unlocks a whole family of problems instead of one answer you happened to memorise.
- More than 300 hand-picked interview problems, each with a problem statement, an in-browser editor to attempt it yourself first, and a full worked solution.
- Time and space complexity reasoning for every solution, which is what interviewers ask about once the code already works.
- Tree and graph work done properly: breadth first and depth first search, level order traversal, matrix islands, topological sort, and union find.
- Advanced patterns most courses leave out: segment trees, binary indexed trees, meet in the middle, articulation points and bridges, and prefix sums.
- All 42 coding patterns, from Two Pointers and Sliding Window through Topological Sort and Union Find to Segment Trees and Binary Indexed Trees.
- Solutions in Python, Java, C++, JavaScript, Go, and C#, so you can prepare in the language you will actually interview in.
- The highest-yield array patterns first: Two Pointers, Fast and Slow Pointers, Sliding Window, and Merge Intervals, which between them account for a large share of real interview questions.
- Dynamic programming split into families you can actually recognise, including 0/1 Knapsack, Fibonacci numbers, and palindromic subsequences, rather than one intimidating topic.
- 34 Test Your Knowledge problems across easy, medium, and hard, where nothing tells you which pattern applies, which is the only honest rehearsal for the real thing.
Course Content
3.
Pattern: Two Pointers
21 lessons
4.
Pattern: Fast & Slow Pointers
15 lessons
5.
Pattern: Sliding Window
25 lessons
6.
Pattern: Merge Intervals
15 lessons
7.
Pattern: Cyclic Sort
17 lessons
8.
Pattern: In-place Reversal of a Linked List
11 lessons
10.
Pattern: Monotonic Stack
15 lessons
12.
Pattern: Tree Level Order Traversal
29 lessons
13.
Pattern: Tree Depth First Search
15 lessons
15.
Pattern: Island (Matrix Traversal)
15 lessons
18.
Pattern: Modified Binary Search
21 lessons
20.
Pattern: Top 'K' Elements
29 lessons
22.
Pattern: Greedy Algorithms
13 lessons
23.
Pattern: 0/1 Knapsack (Dynamic Programming)
14 lessons
24.
Fibonacci Numbers (Dynamic Programming)
New
13 lessons
25.
Palindromic Subsequence (Dynamic Programming)
New
11 lessons
28.
Pattern: Topological Sort (Graph)
15 lessons
29.
Pattern: Union Find
New
9 lessons
30.
Pattern: Ordered Set
New
9 lessons
31.
Pattern: Prefix Sum
New
15 lessons
32.
Pattern: Multi-threaded
New
7 lessons
33.
Counting Pattern (easy)
13 lessons
34.
Monotonic Queue Pattern (easy)
11 lessons
35.
Simulation Pattern (easy)
13 lessons
36.
Linear Sorting Algorithm Pattern (easy)
16 lessons
37.
Meet in the Middle Pattern (medium)
New
11 lessons
38.
MO’s Algorithm Pattern (medium)
New
9 lessons
39.
Serialize and Deserialize Pattern (medium)
New
11 lessons
40.
Clone Pattern (medium)
New
9 lessons
41.
Articulation Points and Bridges Pattern (hard)
New
9 lessons
42.
Segment Tree Pattern (hard)
New
10 lessons
43.
Binary Indexed Tree Pattern (hard)
New
14 lessons
46.
Test Your Knowledge (Easy)
13 lessons
47.
Test Your Knowledge (Medium)
52 lessons
48.
Test Your Knowledge (Hard)
4 lessons
What people say about our courses

Ashley Pean
Software Engineer
Check out Grokking the Coding Interview. Instead of trying out random Algos, they break down the patterns you need to solve them. Helps immensely with retention!

Simon Barker
Software Engineer
This is what I love about http://designgurus.io’s Grokking the coding interview course. They teach patterns rather than solutions.

Roger Cruz
Software Engineer
The world gets better inch by inch when you help someone else. If you haven't tried Grokking The Coding Interview, check it out, it's a great resource!
![]()
pikacodes
Software Engineer
I've tried every possible resource (Blind 75, Neetcode, YouTube, Cracking the Coding Interview, Udemy) and idk if it was just the right time or everything finally clicked but everything's been so easy to grasp recently with Grokking the Coding Interview!

Algorithms can be daunting, but they're less so with the right guide. This course - https://www.designgurus.io/course/grokking-the-coding-interview, is a great starting point. It covers typical problems you might encounter in interviews.
![]()
Tonya Sims
Software Engineer
DesignGurus.io "Grokking the Coding Interview". One of the best resources I’ve found for learning the major patterns behind solving coding problems.
![]()
MO JAFRI
Software Engineer
The courses which have "grokking" before them, are exceptionally well put together! These courses magically condense 3 years of CS in short bite-size courses and lectures (I have tried Grokking System Design Interview, OODI, and Coding patterns). The Grokking courses are godsent, to be honest.
![]()
ABHISHEK GUPTA
Software Engineer
My offer from the top tech company would not have been possible without Grokking System Design. Many thanks!!
![]()
KAUSHIK JONNADULA
Software Engineer
Thanks for a great resource! You guys are a lifesaver. I struggled a lot in design interviews, and Grokking System Design gave me an organized process to handle a design problem. Please keep adding more questions.
