DSA Algorithm Visualizer

Interactive Learning Suite

Visualize & Master
Algorithms Step-by-Step.

Interactive animations, real-time code highlighting, and speed controls for every data structure.

SortingO(N²)

Bubble Sort

Repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order.

LeetCode: #912 Sort an Array
Space: O(1)Launch Visualizer
SortingO(N²)

Selection Sort

Divides the list into a sorted and unsorted region, repeatedly selecting the smallest element from the unsorted region.

LeetCode: #75 Sort Colors
Space: O(1)Launch Visualizer
SortingO(N²)

Insertion Sort

Builds the final sorted array one item at a time by inserting each element into its proper position among sorted items.

LeetCode: #147 Insertion Sort List
Space: O(1)Launch Visualizer
SortingO(N log N)

Quick Sort

Picks an element as a pivot and partitions the given array around the picked pivot using divide and conquer.

LeetCode: #215 Kth Largest (QuickSelect)
Space: O(log N)Launch Visualizer
SortingO(N log N)

Merge Sort

Divides array into halves, recursively sorts them, and then merges the two sorted halves back together.

LeetCode: #148 Sort List (Merge Sort)
Space: O(N)Launch Visualizer
SearchingO(log N)

Binary Search

Search algorithm that finds the position of a target value within a sorted array by dividing search space in half.

LeetCode: #704 Binary Search
Space: O(1)Launch Visualizer
GraphsO((V + E) log V)

Dijkstra's Algorithm

Finds the shortest paths between nodes in a weighted graph with non-negative edge weights.

LeetCode: #743 Network Delay Time
Space: O(V)Launch Visualizer
GraphsO(V + E)

BFS Traversal (Breadth-First)

Level-by-level graph traversal algorithm using a Queue (FIFO) to explore neighboring nodes in expanding ripples.

LeetCode: #102 Level Order Traversal
Space: O(V)Launch Visualizer
GraphsO(V + E)

DFS Traversal (Depth-First)

Deep branch graph traversal algorithm using a Stack (LIFO / Recursion) to explore down each path before backtracking.

LeetCode: #200 Number of Islands
Space: O(V)Launch Visualizer