Skip to main content
DSAViz

Foundations

Core structures and the links that connect them.

  • Array
  • Stack
  • Singly Linked List
Core structuresLinked lists

Sorting and searching

Compare ordering strategies and ways to find values.

  • Bubble Sort
  • Merge Sort
  • Binary & Linear Search
SortingSearching

Trees and graphs

Explore hierarchy, traversal, networks, and connectivity.

  • Binary Search Tree
  • Graph
  • BFS vs. DFS
TreesGraphs

Advanced algorithms

Work through optimization, greedy choices, backtracking, and strings.

  • 0/1 Knapsack
  • Dijkstra's Algorithm
  • KMP
Dynamic programmingGreedyBacktrackingString algorithms

Choose a topic or scan every interactive lesson.

Browse the full index
Interview patternsLearning pathsAboutStart learning
DSAViz
Learn by topic

Foundations

Core structuresLinked lists

Sorting and searching

SortingSearching

Trees and graphs

TreesGraphs

Advanced algorithms

Dynamic programmingGreedyBacktrackingString algorithms
Browse the full index
Interview patternsLearning pathsAbout
Start learning

Free. No account required.

Greedy Algorithms Visualizers

See how locally optimal choices build a globally good solution.

Huffman Coding

Watch a Huffman tree grow as the two least-frequent nodes are greedily merged, then see the resulting prefix codes and compression savings.

Dijkstra's Algorithm

See the greedy choice in action as Dijkstra always expands the closest unvisited node, relaxing edges to find the shortest path from a source.

Kruskal's & Prim's Algorithm

Compare two greedy strategies for building a Minimum Spanning Tree side by side: Kruskal picks the globally cheapest edge, Prim grows outward from a node.

DSAViz

Interactive lessons that connect algorithm decisions, changing data, and the code behind each step.

View the open-source project

Explore

  • Learning paths
  • Visualizer index
  • Interview patterns

Project

  • About
  • Roadmap
  • Share feedback

© 2026 DSA Visualization. Built for curious learners.