Skip to main content
Back to projects
Developer Tools2026Star Project

DSA Visualiser

A polished, local-first data structures and algorithms visualizer for learning, comparing, and stepping through algorithms with synced code walkthroughs.

DSA Visualiser cover screenshot

Project Overview

Built and shipped AlgoPrecision, a production-ready DSA Visualiser that turns complex algorithms into interactive, step-by-step learning flows. The platform combines generator-driven animation frames, custom input controls, speed controls, synced pseudocode highlighting, searchable documentation, and a custom code complexity workspace. It covers a broad DSA catalog across sorting, searching, hashing, stacks, queues, linked lists, arrays and strings, trees, graphs, and dynamic programming, making it useful for interview preparation, classroom demos, and self-paced algorithm practice.

Challenge

Algorithm learning tools often show final output without explaining how state changes at each step. The goal was to create a visual learning surface that supports custom inputs, paced execution, and code-level reasoning without requiring a backend.

Architecture

Designed a local-first Next.js application where algorithm modules emit generator-driven animation frames. The visualizer layer consumes those frames for playback controls, pseudocode highlighting, and state rendering while browser storage preserves custom visualizers and profile data.

Architecture Flow

Algorithm Module
Generator Frames
Playback Controller
Visualizer UI
Local Storage

Key Decisions

  • Used generator-driven state frames to keep algorithm logic testable and animation playback deterministic
  • Kept the app local-first to avoid authentication and backend cost for self-paced learners
  • Separated documentation, visualizer state, and complexity workspace so users can move between learning modes quickly

Impact

  • Delivered a broad DSA catalog covering sorting, searching, stacks, queues, trees, graphs, and dynamic programming
  • Enabled learners to compare algorithm behavior through speed controls, custom inputs, and synced pseudocode
  • Created a reusable pattern for adding new algorithms without rewriting the playback system

Key Features

  • Interactive algorithm visualizations with step controls, speed control, and custom inputs
  • Generator-driven animation frames with synced pseudocode highlighting
  • Coverage for sorting, searching, hashing, stacks, queues, linked lists, arrays, trees, graphs, and dynamic programming
  • Custom code visualizer with time and space complexity estimation
  • Searchable documentation with patterns, complexity notes, step summaries, and direct visualizer links
  • Local-first profile/dashboard flow with saved custom visualizers and JSON import/export

Screenshots

DSA Visualiser screenshot 2
DSA Visualiser screenshot 3