Add SmoothSort (Dijkstra’s adaptive in-place heapsort variant) (#7200)

* feat: implement Smooth Sort algorithm with detailed JavaDoc and test class

* style: format LEONARDO array for improved readability with clang-format

---------

Co-authored-by: Ahmed Allam <60698204+AllamF5J@users.noreply.github.com>
This commit is contained in:
Ahmed Allam
2026-01-09 13:36:46 +02:00
committed by GitHub
parent ca4bebcbd5
commit fe6066b332
2 changed files with 176 additions and 0 deletions

View File

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