This project is to show several different sorting algorithms using the java swing packages. The purpose of this project is to show how efficient each sorting algorithm is visually for any learners that are new to sorting algorithms and have a trouble visualizing it.
- Bubble Sort
- Heap Sort
- Selection Sort
- Quick Sort
-
Ensure Java is Installed: Make sure Java Development Kit (JDK) is installed on your system. You can download it from here.
-
Navigate to the Correct Directory: Open a terminal and navigate to the project directory.
-
Compile the Program:
javac src/app.java
-
Run the Program:
java src/app
-
Remove .classes files:
rm src/*.class