Free · runs in your browser · no sign-up
Learn it. Watch it run. Use it.
Understand algorithms by watching them move, read the papers that built the field, and use free tools that never send your data anywhere.
- Animated algorithms
- Docker · Kubernetes · Salesforce
- Landmark papers
- Free tools
- Linear Search
- Ternary Search
- Interpolation Search
- Fibonacci Search
- Bubble Sort
- Insertion Sort
- Quick Sort
- Counting Sort
- Bucket Sort
- Cycle Sort
- Cocktail Shaker Sort
- Tree Sort
- Bogosort
- Dutch National Flag Algorithm
- Two Pointer Technique
- Prefix Sum
- Difference Array
- Next Permutation
- Stock Buy and Sell
- Missing Number Algorithm
- Fast and Slow Pointer Technique
- KMP Algorithm
- Z Algorithm
- Longest Common Prefix
- Rolling Hash
- Reverse a Linked List
- Detect and Remove Loop
- Find Nth Node from End
- Rotate Linked List
- Next Smaller Element
- Previous Smaller Element
- Largest Rectangle in Histogram
- Stock Span Problem
- Infix to Postfix Conversion
- Queue Using Stacks
- LRU Cache
- Preorder Traversal
- Level Order Traversal
- Binary Search Tree Search
- BST Deletion
- Diameter of Binary Tree
- Depth-First Search (DFS)
- Dijkstra's Algorithm
- Floyd–Warshall Algorithm
- Kruskal's Algorithm
- Topological Sorting
- Cycle Detection
- Fibonacci DP
- 0/1 Knapsack
- Fractional Knapsack
- Longest Common Subsequence (LCS)
- Longest Common Substring
- Levenshtein Distance
- Partition Equal Subset Sum
- Word Break
- Unique Paths
- Activity Selection
- Huffman Coding
- Gas Station Problem
- Meeting Rooms
- Interval Partitioning
- Assign Cookies
- N-Queens Problem
- Subset Generation
- Combination Sum
- Hamiltonian Cycle
- Generate Parentheses
- Karatsuba Multiplication
- Quick Select
- Brian Kernighan's Algorithm
- XOR-based Algorithms
- Check Power of Two
- Find Two Non-Repeating Elements
- Gray Code Generation
- Binary Exponentiation
- GCD
- Extended Euclidean Algorithm
- Prime Factorisation
- Fermat's Little Theorem
- Chinese Remainder Theorem
- Catalan Numbers
- Lazy Propagation
- Sparse Table
- AVL Tree
- Binary Search
- Jump Search
- Exponential Search
- Hash-based Search
- Selection Sort
- Merge Sort
- Heap Sort
- Radix Sort
- Shell Sort
- Comb Sort
- Pigeonhole Sort
- Pancake Sort
- Kadane's Algorithm (Maximum Subarray)
- Moore's Voting (Boyer–Moore Majority Vote)
- Sliding Window Technique
- Suffix Sum
- Maximum Product Subarray
- Trapping Rain Water
- Leaders in an Array
- Cyclic Sort
- Naive Pattern Matching
- Rabin–Karp Algorithm
- Boyer–Moore String Search
- Longest Palindromic Substring
- Floyd's Cycle Detection
- Merge Two Sorted Linked Lists
- Find Middle of Linked List
- Palindrome Linked List
- Next Greater Element
- Previous Greater Element
- Monotonic Stack
- Sliding Window Maximum
- Valid Parentheses
- Postfix Evaluation
- Min Stack
- Inorder Traversal
- Postorder Traversal
- Zigzag Traversal
- BST Insertion
- Lowest Common Ancestor (LCA)
- Height of Binary Tree
- Breadth-First Search (BFS)
- Bellman–Ford Algorithm
- Prim's Algorithm
- Minimum Spanning Tree
- Kahn's Algorithm
- Union-Find (Disjoint Set Union)
- Climbing Stairs
- Unbounded Knapsack
- Coin Change
- Longest Increasing Subsequence (LIS)
- Edit Distance
- Subset Sum
- Rod Cutting
- House Robber
- Minimum Path Sum
- Job Sequencing with Deadlines
- Minimum Platforms
- Jump Game
- Interval Scheduling
- Minimum Coin Change (Greedy)
- Non-overlapping Intervals
- Rat in a Maze
- Permutation Generation
- Graph Coloring
- M-Coloring Problem
- Letter Combinations of a Phone Number
- Count Inversions
- Median of Two Sorted Arrays
- Bitmasking
- Count Set Bits
- Find Single Non-Repeating Element
- Subset Generation Using Bits
- Fast Exponentiation
- Euclidean Algorithm
- LCM
- Sieve of Eratosthenes
- Modular Exponentiation
- Euler's Totient Function
- Fast Doubling Fibonacci
- Segment Tree
- Fenwick Tree (Binary Indexed Tree)
- Trie
- Bloom Filter
Watch it run
Pictures of ideas that are hard to hold in your head. Open any of them to run it on your own input.
Everything in one place
Learn it, watch it run, then use it.
Read the papers that built the field
From Turing to Transformers: a hand-picked reading list.
Most useful
New tools
Pick something and dive in.
No account, nothing to install. Everything runs right here in your browser.