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 runto see the results
- Fork and clone the repository
- Create a new class in the
algorithmspackage - Implement the
SortingAlgorithminterface - Write your algorithm in the
sortmethod - Run
gradlew runand 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