51fcc66345
* Refactor * fix clang * fix clang * fix clang tests * fix pattern * add test case null * Update src/main/java/com/thealgorithms/strings/LetterCombinationsOfPhoneNumber.java Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com> * Update src/main/java/com/thealgorithms/strings/LetterCombinationsOfPhoneNumber.java Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com> * Update src/main/java/com/thealgorithms/strings/LetterCombinationsOfPhoneNumber.java Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com> * Update src/main/java/com/thealgorithms/strings/LetterCombinationsOfPhoneNumber.java Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com> * Update src/main/java/com/thealgorithms/strings/LetterCombinationsOfPhoneNumber.java Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com> * Update src/main/java/com/thealgorithms/strings/LetterCombinationsOfPhoneNumber.java Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com> * Update src/test/java/com/thealgorithms/strings/LetterCombinationsOfPhoneNumberTest.java Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com> * rename MAP_OF_CHARS to KEYPAD * fix clang * remove main * add tests * feat: throw for wrong inputs * change keypad to list * Update src/main/java/com/thealgorithms/strings/LetterCombinationsOfPhoneNumber.java Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com> * Update src/main/java/com/thealgorithms/strings/LetterCombinationsOfPhoneNumber.java Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com> * Update src/main/java/com/thealgorithms/strings/LetterCombinationsOfPhoneNumber.java Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com> * fix with number 1 (empty value), and add tests * style: avoid concatenation while populating `KEYPAD` * change to assertEquals --------- Co-authored-by: Samuel Facchinello <samuel.facchinello@piksel.com> Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com> |
||
---|---|---|
.devcontainer | ||
.github | ||
src | ||
.clang-format | ||
.gitignore | ||
.gitpod.dockerfile | ||
.gitpod.yml | ||
checkstyle.xml | ||
CONTRIBUTING.md | ||
DIRECTORY.md | ||
LICENSE | ||
pmd-exclude.properties | ||
pom.xml | ||
README-ko.md | ||
README.md | ||
spotbugs-exclude.xml |
The Algorithms - Java
You can run and edit the algorithms, or contribute to them using Gitpod.io (a free online development environment) with a single click.
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.