Go to file
Alex K 2568b96784
Adding class for generating all subsequences from a given List (#5194)
* Adding class for generating all subsequences from a given List

* Fix test data format

* Fix braces wrong placement

* Fix "Utility classes should not have a public or default constructor."

* Fix checkstyle " Class Subsequence should be declared as final."

* Renaming class Subsequence to SubsequenceFinder. Refactored test to Parametrized test. Fixed input parameter as final.

* Fix formatting

* Fix formatting

* Fix formatting

* Fix import ordering

* Renaming method generate all.
Renaming test method.
Adding duplication test.
Renaming TestData to TestCase.

* Fix formatting

* style: add assertion to avoid potential infinite loop

---------

Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
2024-05-30 18:43:15 +00: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 Adding class for generating all subsequences from a given List (#5194) 2024-05-30 18:43:15 +00: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-05-15-13-36-34 to 2024-05-27-17-11-15 (#5185) 2024-05-28 09:16:09 +02:00
.gitpod.yml Add SRTF Algorithm (#5011) 2024-01-08 23:48:11 +02:00
checkstyle.xml style: enable MemberName in checkstyle (#5193) 2024-05-29 20:44:14 +00:00
CONTRIBUTING.md adding formatting steps in pull request template (#4606) 2023-10-08 21:06:13 +02:00
DIRECTORY.md style: enable MissingSwitchDefault in checkstyle (#5179) 2024-05-26 17:28:00 +05:30
LICENSE Update LICENSE 2021-02-25 16:15:52 -06:00
pmd-exclude.properties style: enable OverrideBothEqualsAndHashcode like checks (#5159) 2024-05-20 16:06:52 +00:00
pom.xml Chore(deps): bump com.puppycrawl.tools:checkstyle from 10.16.0 to 10.17.0 (#5186) 2024-05-28 09:22:21 +02: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 LII_LIST_INDEXED_ITERATING (#5190) 2024-05-28 19:06:47 +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.