SaaSHub helps you find the best software and product alternatives Learn more →
Top 20 Java Algorithm Projects
-
hello-algo
《Hello 算法》:动画图解、一键运行的数据结构与算法教程。支持简中、繁中、English、日本語,提供 Python, Java, C++, C, C#, JS, Go, Swift, Rust, Ruby, Kotlin, TS, Dart 等代码实现
Project mention: Ask HN: What Are You Working On? (October 2025) | news.ycombinator.com | 2025-10-12Those algorithms implement so random to me, with lack of explanation, no test cases, no formal proof, and often inconsistent naming or structure across languages. Many repositories like TheAlgorithms are great collections, but they feel more like code dumps than true learning resources. You can find an implementation of Dijkstra or QuickSort, but often there is no context: why it works, how to prove it correct, what the complexity is, or how to test it against edge cases. For someone who wants to learn algorithms deeply, that missing layer of reasoning and validation is critical.
No organization for learners either. It jumps straight into implementations without a logical flow from fundamentals. I want to build something more structured: start from the very foundation (like data structures, recursion, and complexity analysis), then move to classical algorithms (search, sort, graph, dynamic programming), and eventually extend to database internals, optimization, and even machine learning or AI algorithms. Basically, a single consistent roadmap from beginner to researcher level, where every algorithm connects to the next and builds intuition step by step.
Another very good resource for beginners is https://www.hello-algo.com. At first, i actually wanted to contribute there, since it explains algorithms visually and in simple language. But it mostly covers the basics and stops before more advanced or applied topics. I want to go deeper and treat algorithms as both code and theory, with mathematical rigor and formal proofs where possible. That is something I really liked about Introduction to Algorithms (CLRS) and of course The Art of Computer Programming (TAOCP) by Knuth. They combine reasoning, math, and practice. My goal is to make something in that spirit, but more practical and modern, bridging the gap between academic books and messy open source repos.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
-
Project mention: 🚀 The Ultimate Algorithms & Data Structures Cheat Sheet Collection | dev.to | 2025-09-29
Java Algorithms Implementation
-
Leetcode
Solutions to LeetCode problems; updated daily. Subscribe to my YouTube channel for more. (by fishercoder1534)
-
Java String Similarity
Implementation of various string similarity and distance algorithms: Levenshtein, Jaro-winkler, n-Gram, Q-Gram, Jaccard index, Longest Common Subsequence edit distance, cosine similarity ...
-
-
I have considered it! I've opted for a more specialized optimization library that deals specifically in the Traveling Salesman Problem (https://github.com/graphhopper/jsprit). I will revisit this though, might come in handy pretty soon - thank you!
-
-
-
Data-Structures-and-Algorithms
Important data structures and algorithms implemented in Java along with solutions to AlgoExpert problems and some Leetcode problems. (by alpha037)
-
-
Data-Structures-and-Algorithms-in-Java-2nd-Edition-by-Robert-Lafore
Solutions of Data Structures and Algorithms in Java 2nd Edition by Robert Lafore. Adding practice problems and solutions.
-
Nayuki-web-published-code
Complete collection of code files (*.java/js/py/cpp/etc.) published on Project Nayuki website.
-
algorithms
Algorithms and Data Structures a comprehensive collection of fundamental Algorithms and Data structures organized into various categories to cater to the needs of software engineers and computer science students. (by gkonovalov)
-
-
-
-
Java Algorithm discussion
Java Algorithm related posts
-
🚀 The Ultimate Algorithms & Data Structures Cheat Sheet Collection
-
jsprit VS timefold-solver - a user suggested alternative
2 projects | 4 Jan 2024 -
Routenplanung Software
-
Algorithms and Data Structures implemented in Java
-
I made the JavaFX version of ben eater's boids simulation
-
All AlgoExpert Questions and Solutions in Java
-
Python to Java
-
A note from our sponsor - SaaSHub
www.saashub.com | 11 Jun 2026
Index
What are some of the best open-source Algorithm projects in Java? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | hello-algo | 126,644 |
| 2 | Java | 65,792 |
| 3 | interviews | 64,936 |
| 4 | algorithms | 18,626 |
| 5 | java-algorithms-implementation | 4,530 |
| 6 | Leetcode | 3,984 |
| 7 | Java String Similarity | 2,741 |
| 8 | FAANG | 1,876 |
| 9 | jsprit | 1,811 |
| 10 | XSeries | 527 |
| 11 | oj! Algorithms | 501 |
| 12 | Data-Structures-and-Algorithms | 406 |
| 13 | wayang | 268 |
| 14 | Data-Structures-and-Algorithms-in-Java-2nd-Edition-by-Robert-Lafore | 212 |
| 15 | Nayuki-web-published-code | 152 |
| 16 | algorithms | 14 |
| 17 | LeetCode-in-Java | 11 |
| 18 | BoidsFX | 10 |
| 19 | graph-pathfinding-algorithms | 5 |
| 20 | Data_Structures_Alogrithms | 1 |