Algorithm Simulators

Interactive visualizations of fundamental algorithms and data structures

Explore Simulators

Learn Through Visualization

These interactive simulators help you understand how algorithms and data structures work by visualizing each step of the process. Click on any simulator to start exploring!

All simulators are built with vanilla JavaScript and HTML5 Canvas/SVG for optimal performance.

Graph Algorithms

A* Search Simulator

A* Search

Visualize the A* pathfinding algorithm with different heuristics and obstacle configurations.

Pathfinding Heuristics Optimal Path
BFS Simulator

Breadth-First Search

Explore level-order traversal and shortest path finding in unweighted graphs.

Shortest Path Queue Level Order
DFS Simulator

Depth-First Search

Understand recursive and iterative DFS implementations with visualization.

Backtracking Stack Maze Solving

Data Structures

BST Simulator

Binary Search Tree

Visualize insertion, deletion, and traversal operations on a BST.

Search Traversal Balancing
Min Heap Simulator

Min Heap

Understand heap operations including insert, extract-min, and heapify.

Priority Queue Heap Sort Efficiency
Linked List Simulator

Linked List

Visualize node insertion, deletion, and traversal in linked lists.

Pointers Dynamic Operations

Sorting Algorithms

Quick Sort Simulator

Quick Sort

Visualize the divide-and-conquer approach of this efficient sorting algorithm.

Divide & Conquer Pivot O(n log n)
Merge Sort Simulator

Merge Sort

Understand the merging process of sorted subarrays in this stable sort.

Divide & Conquer Stable O(n log n)
Heap Sort Simulator

Heap Sort

Visualize how a heap data structure can be used for efficient sorting.

In-place Heap O(n log n)

Computational Geometry

Convex Hull Simulator

Convex Hull

Visualize Graham's scan or Jarvis march algorithms for convex hull.

Geometry Graham's Scan Jarvis March

More Simulators Coming Soon!

I'm continuously working on adding new algorithm visualizations.

Have a suggestion? Contact me with your ideas!