Algorithm Visualizations

Explore computer science algorithms through interactive visualizations. Step through each algorithm, understand the logic, and see how they work in real-time.

New

AI & Machine Learning

Explore how AI and machine learning work through interactive visualizations. Understand neural networks, transformers, LLMs, and RAG systems.

Available Algorithms:
Neural NetworksTransformersLLMsRAG Systems
Explore AI & Machine Learning

Sorting Algorithms

Learn how different sorting algorithms work through interactive visualizations. Compare bubble sort, quick sort, merge sort, and selection sort.

Available Algorithms:
Bubble SortQuick SortMerge SortSelection Sort
Explore Sorting Algorithms
Coming Soon

Search Algorithms

Explore various search algorithms and understand their efficiency. From linear search to binary search and beyond.

Available Algorithms:
Linear SearchBinary SearchDepth-First SearchBreadth-First Search
Coming Soon

Graph Algorithms

Visualize graph traversal and pathfinding algorithms. See how algorithms navigate through connected data structures.

Available Algorithms:
Dijkstra's AlgorithmA* SearchKruskal's AlgorithmPrim's Algorithm
Coming Soon

Dynamic Programming

Understand optimization problems through step-by-step dynamic programming solutions with memoization visualization.

Available Algorithms:
FibonacciKnapsack ProblemLongest Common SubsequenceEdit Distance

Why Use Algorithm Visualizations?

Interactive learning makes complex algorithms easier to understand

Step-by-Step Execution

Watch algorithms execute one step at a time with detailed explanations of what's happening at each stage.

Code Highlighting

See exactly which lines of code are executing as the algorithm progresses through the data.

Performance Analysis

Track comparisons, swaps, and other metrics to understand algorithm efficiency and complexity.

Getting Started

1

Choose an Algorithm Category

Start with sorting algorithms if you're new to algorithm visualization.

2

Select a Specific Algorithm

Pick an algorithm to visualize and learn about its implementation.

3

Watch and Learn

Use the controls to step through the algorithm at your own pace.