A modern, interactive tool for visualizing classic algorithms with real-time performance analysis and AI-powered insights.
-
Sorting Algorithms
- Bubble Sort, Quick Sort, Merge Sort, and Heap Sort
- Real-time visualization of comparisons and swaps
- Performance metrics tracking
- AI-powered analysis of sorting efficiency
-
Pathfinding Algorithms
- Dijkstra's Algorithm
- A* Search
- Interactive grid with wall placement
- Real-time path exploration visualization
-
Sudoku Solver
- Backtracking algorithm visualization
- Step-by-step solution display
- AI-powered hints and suggestions
-
Clone the repository:
git clone https://github.com/yourusername/algorithm-visualizer.git cd algorithm-visualizer
-
Install dependencies:
npm install
-
Set up environment variables:
cp .env.example .env # Add your Gemini API key to .env
-
Start the development server:
npm run dev
- Frontend: React with TypeScript
- Styling: Tailwind CSS
- AI Integration: Google's Gemini API
- Build Tool: Vite
- Package Manager: npm
- Step-by-step algorithm execution
- Color-coded states for better understanding
- Adjustable animation speed
- Interactive controls (play, pause, reset)
- Comparison counting
- Operation tracking
- Time complexity analysis
- Space complexity measurement
- Smart algorithm recommendations
- Performance insights
- Learning suggestions
- Step-by-step explanations
[Add your screenshots here]
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ and TypeScript