β Problem Statement
Currently, the project only includes a Bubble Sort Visualizer
for teaching/demonstrating sorting algorithms. Quick Sort is
one of the most important and widely asked sorting algorithms,
but there's no interactive way for users to visualize how it
works within this project.
π Proposed Enhancement
Add a Quick Sort Visualizer project following the same
UI/UX pattern as the existing Bubble Sort Visualizer, so users
can interactively see how Quick Sort partitions and sorts
an array step by step.
π οΈ Suggested Implementation
- Reuse the existing UI structure (input field, speed slider,
animated bar chart, stats row, result display)
- Highlight the pivot element in a distinct color during
partitioning
- Use different colors for: Pivot / Comparing / Swapping / Sorted
- Track and display comparisons and swaps count, similar to
Bubble Sort Visualizer
- Add a new file
web-app/js/projects/quick-sort.js with:
getQuickSortHTML() β UI template
initQuickSort() β sorting logic + animation
- Register the new project in
web-app/js/projects.js:
- Add to
getProjectHTML() map
- Add to
initializers map
β Problem Statement
Currently, the project only includes a Bubble Sort Visualizer
for teaching/demonstrating sorting algorithms. Quick Sort is
one of the most important and widely asked sorting algorithms,
but there's no interactive way for users to visualize how it
works within this project.
π Proposed Enhancement
Add a Quick Sort Visualizer project following the same
UI/UX pattern as the existing Bubble Sort Visualizer, so users
can interactively see how Quick Sort partitions and sorts
an array step by step.
π οΈ Suggested Implementation
animated bar chart, stats row, result display)
partitioning
Bubble Sort Visualizer
web-app/js/projects/quick-sort.jswith:getQuickSortHTML()β UI templateinitQuickSort()β sorting logic + animationweb-app/js/projects.js:getProjectHTML()mapinitializersmap