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. Available natively on Windows, macOS, and Linux, or live in your browser via WebAssembly.
147 Neetcode problems from the 18 categories are in the audit phase, and can be accessed anytime by enabling Developer Mode, while fully verified problems are available in the default public release.
-
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.
-
Audit Gating System: Public Release Mode presents verified, fully audited problem visualizers (Contains Duplicate, Two Sum, and Valid Anagram), while Developer Mode (
--dev/?dev=true) unlocks all 150 implemented problem visualizers across 18 categories. -
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.
-
Interactive Visual Renderers: Features custom 2D DP memoization tables, matrix grid flood-fills, graph vector topology canvases, dual heap trees, and array trace renderers.
-
Theme & Accessibility System: Includes built-in dark/light themes alongside Protan/Deuteran Red-Green colorblind safe palettes.
-
Audit Gating System: Public Release Mode presents audited problem visualizers, while Developer Mode unlocks all 150 implemented problem visualizers for testing and contribution.
Try AlgoBuddy directly in your browser without installation:
- Public Release Demo: https://rowrow620.github.io/AlgoBuddy
- Developer Demo (All 150 Problems): https://rowrow620.github.io/AlgoBuddy/?dev=true
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 testAlgoBuddy 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.
We welcome community contributions! Please review our community guidelines:
- Contributing Guide: Contributing
- Changelog: Changelog
- Code of Conduct: Code of Conduct
- Security Policy: Security Policy
Distributed under the MIT License. See LICENSE for details.

