Skip to content

srinidhi9353/algorithm-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithm Learning Platform

An interactive educational platform for learning computer science algorithms and data structures through visualization, games, and AI-powered guidance.

🚀 Features

  • Algorithm Visualizers: Interactive step-by-step visualizations for sorting, searching, graph algorithms, dynamic programming, and more
  • Data Structures: Hands-on exploration of arrays, linked lists, stacks, queues, trees, and hash tables
  • Educational Games: Gamified learning experience with challenges for sorting, searching, pathfinding, and machine learning
  • AI Integration: Chat interface with intelligent algorithm recommendations
  • Learning Journey: Guided path with assessments and progress tracking
  • Code Lab: Multi-language code visualization with execution tracking
  • Dark/Light Mode: Full theme support for comfortable learning

🛠️ Tech Stack

  • Frontend: React 18 with TypeScript
  • Build Tool: Vite
  • Styling: Tailwind CSS
  • State Management: Zustand
  • Routing: React Router DOM v7
  • Charts: Recharts
  • Animations: Framer Motion
  • Icons: Lucide React, Heroicons

📦 Installation

  1. Clone the repository:
git clone <your-repo-url>
cd project-main
  1. Install dependencies:
npm install
  1. Run development server:
npm run dev
  1. Open your browser and navigate to http://localhost:5173

🏗️ Build for Production

npm run build

The optimized production build will be in the dist folder.

📝 Available Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run preview - Preview production build locally
  • npm run lint - Run ESLint

🌐 Deployment

Netlify Deployment

This project is configured for easy deployment on Netlify:

  1. Push your code to GitHub
  2. Connect your GitHub repository to Netlify
  3. Netlify will automatically detect the build settings from netlify.toml
  4. Your site will be deployed automatically on every push to main branch

Alternatively, you can use the Netlify CLI:

npm install -g netlify-cli
netlify deploy --prod

📚 Project Structure

project-main/
├── src/
│   ├── algorithms/       # Algorithm implementations
│   ├── components/       # React components
│   │   ├── AI/          # AI chat and recommender
│   │   ├── Algorithms/  # Algorithm list
│   │   ├── CodeLab/     # Code visualization
│   │   ├── Dashboard/   # User dashboard
│   │   ├── DataStructures/ # Data structure visualizations
│   │   ├── Games/       # Educational games
│   │   ├── Journey/     # Learning journey
│   │   ├── Layout/      # Header and sidebar
│   │   └── Visualizer/  # Algorithm visualizers
│   ├── data/            # Static data
│   ├── hooks/           # Custom React hooks
│   ├── store/           # Zustand state management
│   ├── types/           # TypeScript types
│   ├── utils/           # Utility functions
│   └── App.tsx          # Main app component
├── public/              # Static assets
├── netlify.toml         # Netlify configuration
└── package.json         # Dependencies and scripts

🎓 Learning Modules

  1. Algorithms: Sorting, Searching, Graph, Dynamic Programming, Greedy, Divide & Conquer
  2. Data Structures: Arrays, Linked Lists, Stacks, Queues, Trees, Hash Tables
  3. Visualizations: Step-by-step algorithm execution with highlighting
  4. Games: Interactive challenges for hands-on learning
  5. AI Assistance: Context-aware help and recommendations

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

This project is open source and available under the MIT License.

🙏 Acknowledgments

Built with modern web technologies to make computer science education more interactive and engaging.


Made with ❤️ for learners and educators

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages