feat: add PatienceSort (#5288)

* feat: PatienceSort

* refactor: fix readability issues,a and redundant check

---------

Co-authored-by: alxklm <alx@alx.com>
This commit is contained in:
Alex Klymenko
2024-07-24 18:32:47 +03:00
committed by GitHub
parent 08db744240
commit 76a450fb75
3 changed files with 122 additions and 0 deletions

View File

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