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

## Description This PR adds an Armstrong Number (Narcissistic Number) algorithm implementation with comprehensive unit tests. ## Changes Made - ✅ Implemented `ArmstrongNumber.isArmstrong()` method - ✅ Added detailed JavaDoc documentation...

This Pull Request updates the KnightsTour implementation with a cleaner, modern, and more maintainable structure while preserving the original algorithmic behavior. Key Improvements **1. Design & Architecture** Converted static and...

This PR adds a Java implementation of Max Alternating Sum to the devutils package. Includes: ✔ Javadoc documentation ✔ Clean formatting and package declaration ✔ Sorting + arithmetic based optimal...

### What would you like to Propose? I would like to contribute implementations of Binary Search Tree (BST) and AVL Tree under the Trees section of this repository. These are...

enhancement

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

This PR adds an implementation of Kruskal’s Algorithm for computing the Minimum Spanning Tree (MST) of a weighted undirected graph, addressing Issue #7067. ### ✔ What’s Included - Added `KruskalMST.java`...

- [ ] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Java/blob/master/CONTRIBUTING.md). - [ ] This pull request is all my own work -- I have not plagiarized it. - [ ] All filenames are...

- [ ] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Java/blob/master/CONTRIBUTING.md). - [ ] This pull request is all my own work -- I have not plagiarized it. - [ ] All filenames are...

This class implements a Binary Search Tree with methods for insertion, deletion, and traversal (inorder, preorder, postorder). It also includes a main method for user interaction to perform these operations....

- [ ] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Java/blob/master/CONTRIBUTING.md). - [ ] This pull request is all my own work -- I have not plagiarized it. - [ ] All filenames are...