Interactive educational tools

Data Structures Learning Lab

Manipulate the representation, follow the algorithm, and connect each visual change to the rule that caused it.

RepresentationSee the internal organization.

OperationControl the state change.

ExplanationConnect action to invariant.

  • Deterministic stepsSorting can be paused, replayed, and inspected.
  • Structure-specific viewsCells, pointers, trees, buckets, and graphs use different layouts.
  • Honest scopeCapabilities are labeled; unfinished structures are not advertised.

Capability map

What each workspace supports

“Direct” means the operation updates immediately. “Steps” means the operation is generated as replayable algorithm state.

WorkspaceOperationsPlaybackExplanationTested core
Linear structuresInsert, remove, search, resetDirectPseudocode + referenceLinked list
TreesInsert, remove/search, traverseDirect + traversal animationInvariants + referenceBST, AVL, RBT
Hash tablesInsert, switch strategy, rehashDirectLoad factor + referenceCollision behavior
GraphsCreate, connect, traverse, pathfindOperation animationAdjacency + referenceBFS, DFS, Dijkstra
SortingGenerate, randomize, compareDeterministic stepsActive line + countersFour algorithms
Binary heapInsert, extract, update, deleteQueued swapsTree + array + logBrowser verification

Keyboard & access

Designed for more than color and motion.

Controls use visible text, focus indicators, and minimum touch sizes. Sorting playback supports Left/Right arrow stepping and Space to play or pause when focus is outside an input. Reduced-motion preferences shorten animated transitions.

Every visualizer includes a textual reference panel. Full serialization of every canvas and SVG edge remains a documented limitation.