Algorithm Visualizer Pro

Bubble Sort

A simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.

50ms
100
Default
Comparing
Swapping
Sorted
Comparisons 0
Swaps 0
Time Complexity O(n²)
Space Complexity O(1)
Stability Stable
Elapsed Time 0ms

A* Search

An informed search algorithm that uses heuristics to find the optimal path between start and end nodes efficiently.

30ms
Start
End
Wall
Visited
Path

Click to add walls • Drag start/end points • Right-click for weights

BFS Traversal

Breadth-First Search explores graph nodes level by level, visiting all neighbors before moving to the next depth level.

50ms

Binary Search Tree

A hierarchical data structure where each node has at most two children, with left child smaller and right child larger than parent.

60ms