Reqflow
15 algorithms

Algorithms, visualized

The other half of interview prep. Each algorithm runs step by step as an animation you can play, pause, and scrub, with a plain explanation of every move. Start with binary search.

✏️ Take the quiz📋 Cheat sheet📈 Complexity sandbox⚡ Compare
Filter:

Complexity at a glance

Compare time and space complexities across all algorithms. Click a column header to sort.

AlgorithmTimeSpace
Binary SearchO(log n)O(1)View →
Linear SearchO(n)O(1)View →
Two Pointers: Pair SumO(n)O(1)View →
Sliding Window: Max SumO(n)O(1)View →
BFS: Level-Order TraversalO(n)O(n)View →
DFS: Pre-order TraversalO(n)O(h)View →
Merge SortO(n log n)O(n)View →
Bubble SortO(n²)O(1)View →
Selection SortO(n²)O(1)View →
Insertion SortO(n²)O(1)View →
Quick SortO(n log n) avgO(log n)View →
Stack: Push, Pop, PeekO(1) per opO(n)View →
Queue: Enqueue, Dequeue, FrontO(1) per opO(n)View →
BST: SearchO(h)O(h)View →
BST: InsertO(h)O(h)View →
Complexity:O(1), O(log n)O(n)O(n log n)O(n²)+