Algorithm Explorer
A clean, composable catalog of fundamental algorithms, data structures and techniques.
Sorting
Order data efficiently.
Bubble Sort
Visualize bubble sort step by step - watch adjacent comparisons and swaps animate in real time.
Insertion Sort
Watch insertion sort build a sorted list one element at a time with smooth animations.
Selection Sort
See selection sort find the minimum element and place it in each pass.
Merge Sort
Explore merge sort's divide-and-conquer approach - split, sort, and merge arrays visually.
Quick Sort
Step through quick sort's partitioning - see how pivots divide and conquer the array.
Counting Sort
Watch counting sort tally and place integers without comparisons.
Heap Sort
In-place sort using binary heap.
Searching
Find elements quickly.
Linear Search
Sequential element check.
Binary Search
Halves search interval.
Stacks & Queues
Fundamental data structures.
Linked Lists
Linear data structures.
Trees
Hierarchical data structures.
Binary Search Tree
Insert, search, and delete nodes in a BST - see the tree rebalance visually.
AVL Tree
Watch AVL tree rotations maintain balance after every insertion and deletion.
Red-Black Tree
See red-black tree coloring and rotations keep the tree balanced on every operation.
Trie
Insert and search strings in a trie - see how prefixes share paths in the tree.
Graph Algorithms
Explore and traverse networks.
Graph Representation
Adjacency list and matrix.
Breadth-First Search
Watch BFS explore a graph level by level, visiting all neighbors before going deeper.
Depth-First Search
See DFS dive deep into each branch before backtracking through the graph.
Dijkstra's Algorithm
Find shortest paths in weighted graphs - watch distances update as nodes are relaxed.
Connected Components
Identify distinct connected groups in a graph - watch components get colored one by one.
Minimum Spanning Tree
Build a minimum spanning tree - see edges chosen to connect all vertices with least cost.
Topological Sort
Order a directed acyclic graph - see nodes arranged so all edges point forward.