Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

149 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AlgoBuddy

Live Web Demo

CI & Quality Gates CodeQL Rust License: MIT GUI: eframe/egui Platform

AlgoBuddy is a cross-platform algorithm visualizer built in Rust using eframe and egui. It provides step-by-step interactive visualizations formatted according to the NeetCode 150 learning roadmap across 18 algorithmic categories. All 150 problems are fully live in Public Release Mode natively on Windows, macOS, and Linux, or in your browser via WebAssembly.

ste

steps

Application Overview

Full-Screen NeetCode 150 Mastery Dashboard

Key Capabilities

  • 18 Core Categories (100% Complete NeetCode 150 Roadmap): Navigation structured into 18 algorithmic topic categories featuring all 150 problems: Arrays & Hashing, Two Pointers, Sliding Window, Stack, Binary Search, Linked List, Trees, Tries, Backtracking, Heap / Priority Queue, 1D Dynamic Programming, Bit Manipulation, Math & Geometry, Greedy, Intervals, Graphs, 2D Dynamic Programming, and Advanced Graphs.
  • Public Release & Dev Tools: All 150 problems are 100% live in default Public Release Mode. Developer Mode (--dev / ?dev=true) unlocks advanced diagnostic overlays and experimental visual options.
  • Deterministic State Engine: Models algorithm execution as discrete state snapshots, enabling forward and backward timeline scrubbing, variable speed playback (0.25x - 4.00x), and synchronized source line highlighting.
  • Normalized Canonical Renderers: Features custom 2D DP memoization tables, matrix grid flood-fills, graph vector topology canvases, dual heap trees, and 1D array trace renderers structured into 10 canonical visual state categories.
  • Theme & Accessibility System: Includes built-in dark/light themes alongside Protan/Deuteran Red-Green colorblind safe palettes.

Quick Start

WebAssembly (WASM)

Try AlgoBuddy directly in your browser without installation:

Build from Source

Requirements: Rust 2021 Edition

# Clone repository
git clone https://github.com/Rowrow620/AlgoBuddy.git
cd AlgoBuddy

# Launch Public Release Mode
cargo run

# Launch Developer Mode (All 150 Problems Unlocked)
cargo run -- --dev

# Execute Automated Test Suite
cargo test

Architecture Overview

AlgoBuddy uses a deterministic snapshot model where generator functions in src/algorithms/ execute synchronously upfront to produce a timeline vector of discrete state snapshots (Vec<Step>). Execution logic is orchestrated in src/engine.rs, while the interactive GUI renders snapshots via cleanly decoupled src/ui/ component modules based on the active timeline scrubber index.

For detailed architecture diagrams, model definitions, and problem auditing workflows, see CONTRIBUTING.md.


Open Source & Community

We welcome community contributions! Please review our community guidelines:


License

Distributed under the MIT License. See LICENSE for details.