This is a program that can be used to visualise searching and sorting algorithms. It was written using java and java swing.
The algorithm supported -
- Sorting:
- Bubble Sort
- Optimised Bubble Sort
- Insertion Sort
- Quick Sort
- Selection Sort
- Merge Sort
- Searching:
- Linear Search
- Binary Search
- Interpolation Search
- Jump Search
- Exponential Search
First, clone the repository with:
git clone https://github.com/cg-2611/algorithm-visualiser.git
Next, open the directory created by the git clone
command:
cd algorithm-visualiser
Once in the project root directory, if gradle is installed run:
gradle run
Otherwise, the gradle wrapper can be used, on mac/linux run:
./gradlew run
and on windows run:
gradlew.bat run