Skip to content
START HERE

A route through it all, in order.

Each stage builds on the one before. Pick how much time you have and we will pace it for you.

  1. Stage 1: Foundations

    3 tutorials · 8 problems · 5 days

    The moves every other pattern builds on: scanning, counting and meeting in the middle.

    Start here
  2. Stage 2: Windows and search

    3 tutorials · 7 problems · 5 days

    Stop re-checking work you have already done. Slide, halve and pre-sum.

    Start stage 2
  3. Stage 3: Stacks, heaps and intervals

    1 tutorial · 7 problems · 5 days

    Keep the right thing on top: next-greater, top-k and overlapping ranges.

    Start stage 3
  4. Stage 4: Trees and graphs

    4 tutorials · 11 problems · 8 days

    Things connected to things. The stage most interviews lean on hardest.

    Topic guidesTreesGraphs
    Start stage 4
  5. Stage 5: Dynamic programming

    2 tutorials · 10 problems · 8 days

    Break a big problem into small ones you only solve once.

    Start stage 5
  6. Stage 6: System design

    3 designs · 6 days

    Requirements, numbers, boxes and arrows, then the trade-offs. Break each one in the lab.

    Start stage 6

Short on time? Skip to the stage you are weakest in. The order is a suggestion, not a gate.Browse every problem