Skip to content

Visualizer

Watch code run one step at a time, with the line it’s on and one sentence about what just happened.

  • Watch: press Play, or step with Next and Back.
  • Predict: some steps stop and ask what happens next. “Just show me” always skips the question.
  • Try your own: change the input and watch it again.
  • Show as text: read each step as a table instead.
  • Do it yourself: on some, you make each move. A wrong move says why and costs nothing.
  • Your own code: paste a Python function on Visualize Python, or press Visualize under any code editor in the lessons. Write a query on Visualize SQL, or press Show the steps under any SQL editor.

New to this? Start with Binary search, then Two pointers. Each card links the roadmap topic and, where there is one, the lesson.

DSA

SQL

Python

Some pictures live next to the lesson that needs them: