A web-based tool that allows users to analyze code, visualize algorithm execution, and get AI-powered insights. The platform supports multiple programming languages, provides real-time complexity analysis, suggests optimizations, and offers interactive visualizations of data structures and algorithms.
- Input code in multiple languages (JavaScript, TypeScript, Python, Java, C++)
- AI-powered analysis using Gemini API
- Syntax, structure, and complexity analysis
- Optimization suggestions and best practices
- Error detection and debugging recommendations
- Step-by-step execution of sorting algorithms (Bubble Sort, Quick Sort, Merge Sort)
- Graphical representation of arrays, trees, linked lists, and graphs
- Dynamic step control (play, pause, speed adjust)
- Educational explanations of algorithm behavior and complexity
- Benchmark execution times with different input sizes
- Graphs showing runtime comparisons
- Memory consumption analysis
- Compare multiple algorithms side by side
- Modern, responsive design with dark/light mode toggle
- Syntax highlighting code editor
- Interactive visualizations
- Tabbed interface for easy navigation
- Clone the repository
- Install dependencies with
npm install - Set up your Gemini API key as an environment variable
- Run the development server with
npm run dev - Open http://localhost:3000 in your browser
Create a .env.local file in the root directory: