00RoadmapStart here

Start here

DSA from zero, in about 90 posts. Patterns one slide at a time, hard problems one hint at a time.

Sound familiar?

  1. You watch the tutorial. It makes sense.
  2. You open a problem on your own.
  3. Your mind goes blank.

You don't need another tutorial. You need the right hint at the right time.

Two kinds of post

Pattern posts

One idea per slide, always in this order:

StepWhat it gives you
Spot itthe clue in the problem statement
Storyan everyday example, no code
Picturea dry run on a tiny input
Codea pseudocode template you can reuse
Practicetwo problems to solve yourself

Hint ladders

For the hard problems. You solve them; each swipe hands you one more hint.

StepWhat it gives you
Storythe problem as a real-life situation
Your turnstop and try it for 15 minutes
Hint 1a gentle nudge. Try again.
Hint 2the key idea. Try again.
Hint 3almost there. Try once more.
Solutionthe walk-through and the code

The map

Ten stages. Each one builds on the last.

  1. Foundations
  2. Arrays, hashing and maths
  3. Recursion, sorting, binary search
  4. Matrices, strings, backtracking
  5. Linked lists, bits, greedy
  6. Stacks and queues
  7. Trees and heaps
  8. Graphs
  9. Dynamic programming
  10. Tries, strings and advanced topics

The home page lists every post so far, grouped by stage, and Patterns lists them by pattern.

Use it like this

  1. Save the post. You will want it again when you revise.
  2. Solve on paper first. Trace the tiny example by hand, then code.
  3. Ask AI for hints, not answers. Paste this into any AI chat:

Give me one hint for LeetCode 1. Don't show the solution unless I ask.

What the blog adds

The slides use pseudocode, so they work whatever language you write. Every post page here also has the explanation, the pseudocode, tested code in Java, Python, C++ and JavaScript with a copy button, and the practice problems as links.

Next: 01 · Eight data structures, the structures every pattern is built on.