Go to file
Alex Klymenko 0087444e9f
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>
2024-06-28 09:18:06 +02:00
.devcontainer chore: migrate to java 21 (#5163) 2024-05-19 21:57:07 +03:00
.github chore: migrate to java 21 (#5163) 2024-05-19 21:57:07 +03:00
src feat: add SelectionSortRecursive (#5255) 2024-06-28 09:18:06 +02:00
.clang-format chore: enforce InsertNewlineAtEOF in clang-format (#4343) 2023-09-01 04:10:46 +00:00
.gitignore Update .gitignore (#4344) 2023-09-01 09:37:29 +05:30
.gitpod.dockerfile Chore(deps): bump gitpod/workspace-java-21 from 2024-06-17-10-03-09 to 2024-06-24-08-46-07 (#5253) 2024-06-25 07:01:32 +00:00
.gitpod.yml Add SRTF Algorithm (#5011) 2024-01-08 23:48:11 +02:00
checkstyle.xml style: enable WhitespaceAround in checktyle (#5241) 2024-06-24 16:47:33 +08:00
CONTRIBUTING.md adding formatting steps in pull request template (#4606) 2023-10-08 21:06:13 +02:00
DIRECTORY.md feat: add SelectionSortRecursive (#5255) 2024-06-28 09:18:06 +02:00
LICENSE Update LICENSE 2021-02-25 16:15:52 -06:00
pmd-exclude.properties style: enable TypeName (#5214) 2024-06-08 13:37:20 +02:00
pom.xml Chore(deps-dev): bump org.junit.jupiter:junit-jupiter from 5.10.2 to 5.10.3 (#5262) 2024-06-28 07:01:39 +00:00
README-ko.md Fix typo in README-ko.md (#4215) 2023-06-14 15:37:14 +03:00
README.md docs: add codecov badge (#5099) 2024-04-08 18:08:35 +00:00
spotbugs-exclude.xml style: include BED_BOGUS_EXCEPTION_DECLARATION (#5233) 2024-06-25 06:51:24 +00:00

The Algorithms - Java

Build codecov Discord chat Gitpod ready-to-code

You can run and edit the algorithms, or contribute to them using Gitpod.io (a free online development environment) with a single click.

Open in Gitpod

All algorithms are implemented in Java (for educational purposes)

These implementations are intended for learning purposes. As such, they may be less efficient than the Java standard library.

Contribution Guidelines

Please read our Contribution Guidelines before you contribute to this project.

Algorithms

Our directory has the full list of applications.