The TuringPath 150

150 coding interview problems grouped by pattern, from two pointers to dynamic programming, each with our own tests, hints and a lesson that teaches the idea. Solve in Python, JavaScript, Java, C++ or Rust.

Arrays & Hashing

Two Pointers

Sliding Window

Prefix Sums

Stack & Monotonic Stack

Binary Search

Linked Lists

Trees & BSTs

Heaps & Top-K

Graphs, BFS & DFS

Union-Find

Topological Sort & Shortest Paths

Backtracking

Greedy & Intervals

1-D Dynamic Programming

2-D & String DP

Tries & String Matching

Bits & Math