The Algorithm Visualizer is an interactive web application designed to provide real-time visualization of sorting and searching algorithms. It enables users to understand and analyze algorithm behavior step-by-step, offering a hands-on learning experience.
-
📊 Algorithm Visualization:
- Visualize sorting algorithms like Bubble Sort, Merge Sort, Quick Sort, etc.
- Visualize searching algorithms like Binary Search and Linear Search.
-
🔍 Real-Time Feedback:
- Step-by-step visualization showing how data structures change as the algorithm progresses.
- Dynamic updates to highlight comparisons and swaps during execution.
-
⚙️ Customization Options:
- Adjust visualization speed for better analysis and understanding.
- Control the size and type of data structures to test different scenarios.
- Frontend Framework: React.js
- Styling: Tailwind CSS
- Build Tool: Vite
- Additional Libraries:
react-router-domfor navigationreact-iconsfor interactive UI elementsreact-hot-toastfor notifications
-
📂 Clone the repository:
git clone <repository-url> cd algo-visualizer
-
📦 Install dependencies:
npm install
-
🚀 Start the development server:
npm run dev
-
🌐 Access the application at
http://localhost:5173(default Vite dev server port).
- Select an algorithm from the menu.
- Configure input size, type, and visualization speed.
- Start the visualization to see how the algorithm processes data.
- Observe changes in real time and analyze the algorithm's efficiency.