Interactive Algorithm Catalog

Data Structures & AlgorithmsRun & Visualize in Your Browser

Master computer science fundamentals with interactive code, complexity breakdowns, and step-by-step visual memory execution.

SearchingO(log N)

Binary Search

Search a sorted array by repeatedly dividing the search interval in half. Step through low, mid, and high pointers.

PythonC++JavaC
Recursion & DPO(2^N) / O(N)

Fibonacci Recursion

Understand recursive function branching and stack frames. Watch call depth expand and unravel step-by-step.

PythonC++JavaC
SortingO(N log N)

Merge Sort

Classic divide-and-conquer sorting algorithm. Visualize array splits, recursive calls, and in-order merging.

PythonC++JavaC