Interactive algorithm visualization platform for LeetCode problems
๐ Official Website: https://leetcode-visualizer-monkey.vercel.app/
- ๐ฌ Step-by-step visualization of algorithm execution
- ๐ฎ Interactive controls - Play, pause, step forward/backward, and fast-forward through algorithm steps
- ๐จ Beautiful UI - Modern dark theme with glassmorphic design and smooth animations
- ๐ Multiple visualizers - Binary Search, Permutations, Jump Game, Two Sum, and more
- ๐ Call stack tracking - Visualize recursive function calls and backtracking
- โก Real-time updates - See variable changes and algorithm state in real-time
Modern interface showing available algorithm visualizations
Step 5 of 8: Interactive visualization showing L (Left), M (Mid), and R (Right) pointers navigating through the rotated array [3, 4, 5, 1, 2]. The algorithm is actively searching for the minimum element.
Step 15: Call stack visualization demonstrating recursive backtracking with multiple active frames. Shows the algorithm exploring different permutation branches with local variables tracked in each frame.
This project is structured using Git Submodules:
core/: Contains the source code (Backend + Frontend). This is a submodule pointing toleetcode-visualizer-core.
- Node.js (v18+) & Bun/pnpm/npm
- Python 3.8+
- Access to the private
leetcode-visualizer-corerepository (if you are a collaborator)
-
Clone the repository with submodules:
git clone --recursive git@github.com:monkey-mode/leetcode-visualizer.git cd leetcode-visualizerIf you already cloned without recursive:
git submodule update --init --recursive
-
Setup Core: Navigate to the core directory and follow the setup instructions there.
cd core # Follow backend/frontend setup guide inside core/
Visit https://leetcode-visualizer-monkey.vercel.app/ to start visualizing algorithms immediately!
โถ๏ธ Play/Pause - Auto-play through algorithm steps- โฎ๏ธ Previous - Step backward one frame
- โญ๏ธ Next - Step forward one frame
- โช Fast Rewind - Jump back 10 steps
- โฉ Fast Forward - Jump ahead 10 steps
- ๐ Reset - Return to initial state
- ๐๏ธ Speed - Adjust playback speed (50ms - 1000ms)
MIT License - feel free to use this project for learning and educational purposes!
Built with โค๏ธ for the coding community