vrushalishrianantsavant23-cmyk/dsa-visualizer-and-algorithm-race ? reverse-engineered prompt

Reverse engineered prompt

Build me a web app that helps people learn algorithms by watching them run.

I want a clean dashboard where users can switch between a sorting visualizer and a pathfinding visualizer. For sorting, show animated bars for Bubble, Merge, Quick, and Heap sort, with controls to play, pause, step through, change speed, and change array size. For pathfinding, let users draw walls on a grid and watch BFS, DFS, and Dijkstra explore the map and then reveal the final path.

The main feature should be a race mode where 2 or 3 sorting algorithms run at the same time on the exact same input, and the app shows which one finishes first along with timing, comparisons, and swaps. Save each race result so there is a leaderboard page with past winners and the algorithms used.

Make it feel polished and easy to use, with a simple home page and navigation between sections. If you need to look up current docs online for anything, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab