Documentation

Learn every algorithm, interactively.

A dedicated page for every sorting and pathfinding algorithm in VisualAlgorithms — Big-O complexity, pseudocode in JavaScript, Python, C++, C# and C, and a live animated preview generated from the real implementation. Browse the sidebar, or jump in below.

Open the Visualizer

Browse by category

Sorting Algorithms

From Bubble and Insertion Sort to Tim Sort, Quicksort variants, radix and network sorts — each with a faithful bar-animation preview.

Start with Bubble Sort

Pathfinding Algorithms

BFS, DFS, Dijkstra, A* and beyond — replayed step by step on a grid, showing the frontier, visited cells, and the final path.

Start with Breadth-First Search

Try It Live

App

Run any algorithm on your own data, race them head to head, benchmark them, or write and visualize your own code in five languages.

Open the Visualizer

Popular pages