Java
Java copied to clipboard
All Algorithms implemented in Java
- [X] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Java/blob/master/CONTRIBUTING.md). - [X] This pull request is all my own work -- I have not plagiarized it. - [X] All filenames are in PascalCase. -...
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.12.2 to 5.13.0. Release notes Sourced from org.junit:junit-bom's releases. JUnit 5.13.0 = Platform 1.13.0 + Jupiter 5.13.0 + Vintage 5.13.0 See Release Notes. New Contributors @Oyster-zx made...
This PR should fix the failing build in #6252 (cf. [log](https://github.com/TheAlgorithms/Java/actions/runs/15356111841/job/43237466158?pr=6252)). - [x] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Java/blob/master/CONTRIBUTING.md). - [x] This pull request is all my own work -- I have...
Bumps gitpod/workspace-java-21 from 2025-02-10-10-54-28 to 2025-05-14-07-50-25. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
### What would you like to Propose? Hello everyone, Until just five days ago, our repository had very few randomized algorithms. If anyone is motivated, they can dive into the...
- [x ] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Java/blob/master/CONTRIBUTING.md). - [ x] This pull request is all my own work -- I have not plagiarized it. - [ x] All filenames are...
- [x] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Java/blob/master/CONTRIBUTING.md). - [x] This pull request is all my own work -- I have not plagiarized it. - [x] All filenames are in PascalCase. -...
Adds a safe check for number == 0 in the Armstrong number logic to avoid a Math.log10(0) exception. Also acknowledges 0 as a valid Armstrong number (since 0^1 = 0)....
- [x] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Java/blob/master/CONTRIBUTING.md). - [x] This pull request is all my own work -- I have not plagiarized it. - [x] All filenames are in PascalCase. -...
### What would you like to Propose? propose implementing the B-Tree, a balanced multiway search tree, which generalizes binary search trees by allowing nodes to have more than two children....