Data Structures & Algorithms Visualizer NEW
Interactive visualizer for computer science algorithms and data structures. Browse topics using the topic tree, inspect step-by-step executions, and observe memory mutations, graph relaxations, and tree transformations in real time.
About This Tool
Understanding how algorithms manipulate memory, pointers, and graph frontiers is difficult with static diagrams. This interactive visualizer arranges foundational computer science concepts into an exploratory topic tree.
Explore time and space complexities, observe in-place array partitioning, trace pointer redirection in linked lists and hash chains, watch self-balancing AVL rotations, and follow edge relaxations in Dijkstra shortest path without compiling code.
Key Features
- Hierarchical Topic Tree: Categorized tree menu grouping 29 topics across Linear Structures, Trees, Sorting, Searching, Graphs, and DP.
- Comprehensive Graph Suite: Dijkstra Shortest Path, BFS, DFS, Kruskal MST, Prim MST, and Kahn Topological Sort with visual frontier queues.
- Self-Balancing Trees & Heaps: Binary Search Tree, AVL Tree with rotation tracking, Min-Heap bubble-up/down, Trie, and Disjoint Set Union.
- Eight Sorting Algorithms: Bubble, Selection, Insertion, Merge, Quick, Heap, Counting, and Radix Sort with step-by-step memory frames.
- Linear Structures & Hash Table: Singly Linked List, Doubly Linked List, Stack, Queue, Circular Queue Ring Buffer, and Separate Chaining Hash Table.
- String Matching & Dynamic Programming: Knuth-Morris-Pratt (KMP) with LPS table and 0/1 Knapsack 2D DP memoization grid.
- 100% Client-Side: Zero tracking, zero server dependencies, and immediate browser execution.