rm -rf build
mkdir build
cd build
arch -arm64 cmake ..
make
./AlgorithmVisualizer
- Algorithm Selection: • Press 1 for Bubble Sort. • Press 2 for Quick Sort.
- Speed Control: • Press Up Arrow to increase speed (reduce delay). • Press Down Arrow to decrease speed (increase delay).
- Reset Array: • Press R to generate a new random array.
- Start/Stop Sorting: • Press Space to toggle between starting and pausing the sorting process.
- Dynamic Updates: • The selected algorithm and current speed are displayed in the terminal.
- implement 'MergeSort', 'InsertionSort'\
- render button (currently not working)