DSA Playground

1. Graph Type

2. Direction

3. Build & Edit

Double-click a node to edit its value.

4. Set Points

5. Choose Algorithm

6. Run & Control

Select 'Add Node' to begin.

Pseudocode

Data Structure

Master Data Structures & Algorithms

Explore concepts with concise theory and jump straight into interactive visualizations.

Graphs

BFS/DFS, Dijkstra, A*, Bellman-Ford, and MST (Prim/Kruskal). Visualize directed/undirected, weighted/unweighted graphs.

  • Shortest paths and heuristics
  • Topological sorting (DAGs)
  • Import/Export and presets

Sorting

See how arrays transform step-by-step with 6 core algorithms and speed/size control.

  • Bubble, Insertion, Selection
  • Merge, Quick, Heap
  • Pause/resume and bar animations

Stacks & Queues

Practice LIFO and FIFO operations. Great for understanding recursion and scheduling.

  • Push/Pop/Peek
  • Enqueue/Dequeue/Front
  • Clean, clear state views