Add ExchangeSort (#5029)

* added ExchangeSort and its testcases

---------

Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
This commit is contained in:
VedantK
2024-02-01 13:55:31 +05:30
committed by GitHub
parent b99aeef674
commit 14b3f45f9f
2 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,8 @@
package com.thealgorithms.sorts;
public class ExchangeSortTest extends SortingAlgorithmTest {
@Override
SortAlgorithm getSortAlgorithm() {
return new ExchangeSort();
}
}