Blind 75 problems, visualized step by step.

For anyone preparing for coding interviews: 8 of the Blind 75 problems so far, more to come. Each page puts the problem in plain words with its own example, shows the brute force and the one idea that beats it, then lets you step through the Python solution yourself: each press of → is one action, the picture and the lit line of code move together, and a sentence says what changed, with the why at the step that raises it. Each page also names the bugs candidates write, and has an exercise: put the solution together from steps in words, and it runs on the input that catches the usual mistake. Read the problem, try it on LeetCode, step through, then put it together yourself.

New to the data structures behind them? The roadmap's interview route lists them in the order to learn them.

Hash map

  • Two Sum Easy — Find the two elements that add up to a target, in one pass with a hash map. 13 steps

Stack

  • Valid Parentheses Easy — Check that every bracket is closed by its own type, in order, with a stack. 12 steps

Linked list

  • Reverse Linked List Easy — Turn every link around in one pass, keeping only three variables. 16 steps
  • Merge Two Sorted Lists Easy — Splice two sorted lists into one by always taking the smaller front node. 20 steps

Trees

Graphs

  • Number of Islands Medium — Count groups of land cells, sinking each new island with breadth-first search so it is counted once. 32 steps
  • Course Schedule Medium — Decide whether all courses can be finished, by taking those with no prerequisites left. 41 steps