This repository compares several sorting algorithms implemented in Java 11. As of now following algorithms are implemented:
- Bubblesort
- Insertionsort
- Selectionsort
- Open a terminal and clone the repository
- Switch into the sorting-algorithms-comparison directory
- Run
gradlew run
to see the results
- Fork and clone the repository
- Create a new class in the
algorithms
package - Implement the
SortingAlgorithm
interface - Write your algorithm in the
sort
method - Run
gradlew run
and your algorithm will automatically be executed - Add a test for your algorithm to guarantee your implementation is working
- Commit your work and submit a pull request