Algo
Viz
Interactive Algorithm Visualizer
✎ Input
☀
🔄 Sorting
Bubble Sort
O(n²)
Selection Sort
O(n²)
Insertion Sort
O(n²)
Merge Sort
O(n log n)
Quick Sort
O(n log n)
Heap Sort
O(n log n)
🌐 Graph
BFS
O(V+E)
DFS
O(V+E)
Dijkstra
O(V²)
A* Search
O(E log V)
🌲 Trees
Binary Search Tree
O(log n)
AVL Tree
O(log n)
Red-Black Tree
O(log n)
🧠 Other
Binary Search
O(log n)
Fibonacci DP
O(n)
0/1 Knapsack
O(nW)
🧬 Sequence Alignment
Needleman-Wunsch
O(mn)
Smith-Waterman
O(mn)
Affine Gap
O(mn)
Progressive MSA
O(n²)
🌿 Phylogenetic Trees
UPGMA
O(n²)
Neighbor-Joining
O(n³)
Max Parsimony
NP-hard
Max Likelihood
O(n·L)
📊 Clustering
k-Means
O(knI)
Hierarchical
O(n²)
Select an Algorithm
Speed:
5x
⏮
▶ Play
⏭
↺ Reset
Start Node:
End Node (optional):
—
Apply
Comparisons:
0
Swaps:
0
Steps:
0
Array Size:
—
Select an algorithm and press Play to begin.
⚡
Choose an Algorithm
Select from the sidebar to start visualizing
Custom Input
Cancel
Apply