An Interactive Platform for Visualizing Algorithms and Data Structures
Live Demo β’
Report Bug β’
Request Feature
AlgoVisualizer is a modern web application that helps students and developers understand Data Structures and Algorithms through real-time visualizations.
Built with React, Vite, and Tailwind CSS, it offers a smooth, interactive, and visually appealing way to learn complex concepts.
- π― Real-Time Visualizations β See algorithms in action step-by-step
- π Interactive Controls β Play, pause, and control execution speed
- π» Code & Complexity Views β Learn the logic behind the scenes
- π§ AI Learning Assistant β Powered by Google Gemini API
- π¨ Modern UI β Responsive, minimal, and distraction-free
- π Comprehensive Coverage β Sorting, graph, recursion, and more
| Technology | Purpose |
|---|---|
| React | Frontend framework |
| Vite | Build tool & dev server |
| Tailwind CSS | Styling |
| JavaScript | Algorithm logic |
| Vercel | Deployment |
AlgoVisualizer/
βββ public/
βββ src/
β βββ components/
β βββ pages/
β βββ search/
β βββ App.jsx
β βββ main.jsx
β βββ index.css
βββ package.json
βββ vite.config.js
βββ README.md- Node.js v14+
- npm v6+ or yarn
git clone https://github.com/mahaveergurjar/AlgoVisualizer.git
cd AlgoVisualizer
npm installecho "VITE_GEMINI_API_KEY=your_api_key_here" > .envGet a free API key from Google AI Studio
npm run devOpen β http://localhost:5173
npm run buildAlgoVisualizer integrates Google Gemini API to answer algorithm-related questions directly in the app.
Example Questions:
- βExplain Merge Sort step-by-step.β
- βDifference between BFS and DFS.β
- βWhatβs the time complexity of Quick Sort?β
We love contributions from the community!
Please read our Contributing Guide to learn how to set up the project, follow coding standards, and make effective pull requests.
This project is licensed under the MIT License β see the LICENSE file for details.
Mahaveer Gurjar
GitHub: @mahaveergurjar
Project: AlgoVisualizer
β If you find this project helpful, please give it a star on GitHub! β
