Java icon indicating copy to clipboard operation
Java copied to clipboard

All Algorithms implemented in Java

Results 922 Java issues
Sort by recently updated
recently updated
newest added

This PR adds tests for `CircleSort` and fixes the _infinite_ loop occurring for empty input. - [x] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Java/blob/master/CONTRIBUTING.md). - [x] This pull request is all my own...

### What would you like to share? #5110 introduced checkstyle. The [config file](https://github.com/TheAlgorithms/Java/blob/master/checkstyle.xml) has some of the rules _commented out_. It might a good idea to introduce some of them...

enhancement
help wanted
good first issue
dont-close

- [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. -...

stale

### What would you like to Propose? Feat: Implementing Travelling Salesman dynamic programming approach ### Issue details The TravelingSalesman function calculates the minimum cost to complete a round-trip through all...

enhancement

This pull request introduces several updates to the README file to enhance its clarity, usability, and accessibility. The changes are designed to make the repository more welcoming and informative, facilitating...

I've made the following changes: 1.Renamed doSort to quickSort for clarity. 2.Renamed randomPartition to partitionWithRandomPivot. 3.Added inline comments for clarity. 4.Reused existing utility methods from SortUtils. 5.Ensured error handling by...

stale

Add modular exponentiation 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...

stale

This PR includes `IM_AVERAGE_COMPUTATION_COULD_OVERFLOW` SpotBugs rule. Related to #5122. - [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...

Uncommented the MethodName in checkstyle.xml and checked if there's any error. Related to #5119. - [x] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Java/blob/master/CONTRIBUTING.md). - [x] This pull request is all my own work...

- [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. -...