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

### What would you like to Propose? Add Kruskal’s algorithm to the Greedy section of the algorithms. --- ## About the idea: Kruskal’s algorithm finds a Minimum Spanning Tree (MST)...

enhancement

This adds the Kruskal's Minimum Spanning Tree algorithm mentioned in #7067. # Description --- Added the Kruskal algorithm and its corresponding unit tests using JUnit. # Implementation 1. Complete Algorithm...

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

### What would you like to Propose? **Title:** Add Threaded Binary Tree Implementation for In-Order Traversal without Recursion --- ### 🧠 Overview A **Threaded Binary Tree** improves binary tree traversal...

enhancement

### What would you like to Propose? **Proposal:** Add a new file containing a set of classic stack-based algorithms. **Algorithm Name and Problem Statement:** I propose adding a new file,...

enhancement
stale

### What would you like to share? Hi 👋, I came across this project and was interested in contributing to it for Hacktoberfest 2025. Could you please confirm if this...

stale
awaiting triage

### What would you like to Propose? I would like to propose adding Smooth Sort, an optimized variant of Heap Sort developed by Edsger Dijkstra. It adapts to partially sorted...

enhancement
stale

The directory "src/main/java/com/thealgorithms/matrix" does not have the java program for search a 2D matrix question. This question actually has two variations and also available in leetcode platform.So adding these question...

enhancement
stale

### What would you like to Propose? Issue Title: Add KMP (Knuth–Morris–Pratt) String Matching Algorithm Implementation Description: I would like to request the addition of the KMP string matching algorithm...

enhancement

### What would you like to Propose? Hey, More codes can be added to the string folder of the repo which are as follows: 1. Removing stars from a string....

enhancement
stale