mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-28 23:15:17 +08:00
feat: add SelectionSortRecursive
(#5255)
* Implementation: SelectionSort using recursion * Documentation: adding links * Fix issue with findMinIndex * Fix: change findMinIndex method to recursive * Fix: improve variable change scope * Fix: Replacing recursive method findMinIndex with iterative. To fix StackOverFlow on huge arrays * refactor: remove `null` check * Fix: Removing redundant null check --------- Co-authored-by: alxklm <alx@alx.com> Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
This commit is contained in:
@ -0,0 +1,8 @@
|
||||
package com.thealgorithms.sorts;
|
||||
|
||||
public class SelectionSortRecursiveTest extends SortingAlgorithmTest {
|
||||
@Override
|
||||
SortAlgorithm getSortAlgorithm() {
|
||||
return new SelectionSortRecursive();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user