Visualize an algorithm
Every entry below runs on the same deterministic execution engine: generate all steps up front, then step forwards, backwards and through the code with the exact state each moment produced.
Arrays & Two Pointers
4 visualizationsArray Traversal
beginnerVisit every index once — the foundation of O(n) algorithms.
O(n)O(1) space
Insert & Delete in an Array
beginnerShift elements to open or close a gap in the middle.
O(n)O(1) space
Two Pointers
intermediateConverge two ends of a sorted array to find a target pair.
O(n)O(1) space
Sliding Window
intermediateMaintain a fixed-size range and update it in O(1) per step.
O(n)O(1) space
Not sure where to start?
Follow the guided paths — beginner, intermediate and advanced — in order.