Interactive step-by-step visualizations of common data structures and algorithms. Watch how they work, understand the logic, and learn by seeing.
Find two numbers that add up to a target using a hashmap approach.
HashMapSort an array of 0s, 1s, and 2s in-place using three pointers.
Dutch National FlagFind the contiguous subarray with the largest sum.
Kadane's AlgorithmMaximize profit by finding the best buy and sell days.
Single Pass