AlgoFlow is a modern full-stack Sorting Algorithm Visualizer built using HTML, CSS, JavaScript, Node.js, and Express.js.
It helps users understand how sorting algorithms work through real-time animations, color visualization, and sound effects.
- Real-time sorting visualization
- Multiple sorting algorithms
- Dynamic algorithm switching
- Time and space complexity display
- Interactive UI with dark theme
- Adjustable sorting speed
- Sound effects during sorting
- Responsive dashboard design
- Bubble Sort
- Selection Sort
- Insertion Sort
Frontend:
- HTML5
- CSS3
- JavaScript
Backend:
- Node.js
- Express.js
- Blue bars -> Default state
- Yellow bars -> Comparing elements
- Green bars -> Swapping elements
- Purple bars -> Sorted elements
Bubble Sort:
- Best Case: O(n)
- Average Case: O(n²)
- Worst Case: O(n²)
- Space Complexity: O(1)
Selection Sort:
- Best Case: O(n²)
- Average Case: O(n²)
- Worst Case: O(n²)
- Space Complexity: O(1)
Insertion Sort:
- Best Case: O(n)
- Average Case: O(n²)
- Worst Case: O(n²)
- Space Complexity: O(1)
algoflow/ │ ├── client/ │ ├── index.html │ ├── style.css │ └── visualizer.js │ ├── server/ │ ├── server.js │ └── algoRunner.js │ └── README.md
-
Open terminal
-
Navigate to server folder
cd server