Algorithm Visualizer

Explore algorithms with step-by-step visualizations, simplifying the learning process and making it more engaging for a better understanding

Hero image
Pathfinder
Pathfinder

Visualize graph algorithms like dijkstra, BFS, DFS

Graph Traversal
Graph Traversal

Build a graph and watch BFS and DFS explore it node by node

Shortest Path
Shortest Path

Weighted graphs with Dijkstra and Bellman-Ford, including negative-cycle detection

Minimum Spanning Tree
Minimum Spanning Tree

Build a weighted graph and watch Kruskal and Prim grow the minimum spanning tree

Connectivity
Connectivity

Build a graph and color its connected components and strongly connected components

Network Flow
Network Flow

Compute max flow / min cut with Edmonds-Karp and Ford-Fulkerson on a capacity network

Binary Search Tree
Binary Search Tree

Insert, delete, and search on a BST with animated tree restructuring

Recursion Tree
Recursion Tree

The process in which a function calls itself directly or indirectly is called recursion

Sorting Algorithm
Sorting Algorithm

Compare different sorting algorithms

Recursive Sorting
Recursive Sorting

Compare different recursive sorting algorithms

N Queen
N Queen

The N queens puzzle is the problem of placing N chess queens on an N*N chessboard so that no two queens threaten each other

Turing Machine
Turing Machine

A Turing machine is a mathematical model of computation that defines an abstract machine that manipulates symbols on a strip of tape according to a table of rules

Prime Numbers
Prime Numbers

Visualize how Seive is better than brute force

Convex Hull
Convex Hull

The convex hull of a set of points is the smallest convex polygon that contains all the points of it

Binary Search
Binary Search

Binary search is an efficient algorithm for finding an item from a sorted list of item

Game of Life
Game of Life

Visualize the Game of Life cellular automaton

Linked List
Linked List

Visualize insertion, deletion, search, and reversal on singly and doubly linked lists