[Go to site: main page, start]

Java Algorithm

Open-source Java projects categorized as Algorithm

Top 20 Java Algorithm Projects

  1. 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-12

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

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. Java

    All Algorithms implemented in Java

  4. interviews

    Everything you need to know to get the job.

  5. algorithms

    A collection of algorithms and data structures (by williamfiset)

  6. java-algorithms-implementation

    Algorithms and Data Structures implemented in Java

    Project mention: 🚀 The Ultimate Algorithms & Data Structures Cheat Sheet Collection | dev.to | 2025-09-29

    Java Algorithms Implementation

  7. Leetcode

    Solutions to LeetCode problems; updated daily. Subscribe to my YouTube channel for more. (by fishercoder1534)

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

  9. FAANG

    Competitive programming questions.

  10. jsprit

    jsprit is a java based, open source toolkit for solving rich vehicle routing problems

    Project mention: Ask HN: What Are You Working On? (June 2025) | news.ycombinator.com | 2025-06-29

    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!

  11. XSeries

    Library for cross-version Minecraft Bukkit support and various efficient API methods.

  12. oj! Algorithms

    oj! Algorithms

  13. Data-Structures-and-Algorithms

    Important data structures and algorithms implemented in Java along with solutions to AlgoExpert problems and some Leetcode problems. (by alpha037)

  14. wayang

    Apache Wayang is the first cross-platform data processing system.

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

  16. Nayuki-web-published-code

    Complete collection of code files (*.java/js/py/cpp/etc.) published on Project Nayuki website.

    Project mention: JPEG Compression | news.ycombinator.com | 2026-03-18
  17. 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)

  18. LeetCode-in-Java

    Java-based LeetCode algorithm problem solutions, regularly updated.

  19. BoidsFX

    Simulation of the boids algorithm

  20. graph-pathfinding-algorithms

    Implementation and tests for graph pathfinding algorithms.

  21. Data_Structures_Alogrithms

    A set of powerful data structures and algorithms.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Java Algorithm discussion

Log in or Post with

Java Algorithm related posts

  • 🚀 The Ultimate Algorithms & Data Structures Cheat Sheet Collection

    6 projects | dev.to | 29 Sep 2025
  • jsprit VS timefold-solver - a user suggested alternative

    2 projects | 4 Jan 2024
  • Routenplanung Software

    1 project | /r/de_EDV | 8 Jan 2023
  • Algorithms and Data Structures implemented in Java

    1 project | /r/java | 21 Oct 2021
  • I made the JavaFX version of ben eater's boids simulation

    3 projects | /r/JavaFX | 9 Oct 2021
  • All AlgoExpert Questions and Solutions in Java

    1 project | /r/AlgoExpert | 14 Jun 2021
  • Python to Java

    1 project | /r/javahelp | 27 Mar 2021
  • A note from our sponsor - SaaSHub
    www.saashub.com | 11 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

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

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Java is
the 10th most popular programming language
based on number of references?