Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise. Learn more →
Top 23 Algorithm Open-Source Projects
-
-
AppSignal
AppSignal knows why the f*#k it crashed. Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.
-
-
javascript-algorithms
📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings
-
Project mention: 2026: The average developer's year disappears and the most will struggle | dev.to | 2025-11-27
Updated, realistic prep for modern technical interviews not just LeetCode spam. https://www.techinterviewhandbook.org
-
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.
-
Project mention: From "Automatic Mode" to Code Analysis: What I Learned Analyzing an Edge Case in Java | dev.to | 2026-09-15
While checking the TheAlgorithms / Java repository, I found an exercise in the math section that seems simple at first glance: find the absolute maximum value of an array of integers.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
leetcode-master
《代码随想录》LeetCode 刷题攻略:200道经典题目刷题顺序,共60w字的详细图解,视频难点剖析,50余张思维导图,支持C++,Java,Python,Go,JavaScript等多语言版本,从此算法学习不再迷茫!🔥🔥 来看看,你会发现相见恨晚!🚀
-
leetcode
LeetCode Solutions: A Record of My Problem Solving Journey.( leetcode题解,记录自己的leetcode解题之路。) (by azl397985856)
-
C-Plus-Plus
Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
-
JavaScript
Algorithms and Data Structures implemented in JavaScript for beginners, following best practices. (by TheAlgorithms)
-
-
interactive-coding-challenges
120+ interactive Python coding interview challenges (algorithms and data structures). Includes Anki flashcards.
-
-
Project mention: Show HN: Algorithms 1.0.0 – Minimal and clean implementations of algorithms | news.ycombinator.com | 2026-02-17
-
WaveFunctionCollapse
Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics
Project mention: Ten advances in mathematics and theoretical computer science | news.ycombinator.com | 2026-08-01No I just meant WFC as an algorithm for solving problems.
https://github.com/mxgmn/WaveFunctionCollapse
It's one of the coolest things I've ever seen.
I guess I've been pronouncing it wrong though.
-
homemade-machine-learning
🤖 Python examples of popular machine learning algorithms with interactive Jupyter demos and math being explained
-
-
-
algorithm-pattern
Algorithm Patterns — the most scientific way to practice, the fastest path to an offer. You deserve it~ 算法模板,最科学的刷题方式,最快速的刷题路径,你值得拥有~
-
awesome-competitive-programming
:gem: A curated list of awesome Competitive Programming, Algorithm and Data Structure resources
-
Project mention: Printable Route Directions with Geoapify: Complete Demo Walkthrough | dev.to | 2026-02-17
Turf.js - geometry calculations for step previews
-
ImageAI
A python library built to empower developers to build applications and systems with self-contained Computer Vision capabilities
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Algorithm discussion
Algorithm related posts
-
140 Bugs Were Hiding in One Function, and My Tests Couldn't See Any of Them
-
Ten advances in mathematics and theoretical computer science
-
I ported a Python library to Rust. My fuzzer was lying to me.
-
MuseAir hash: new fastest high-quality portable hashing algorithm, v1 released
-
Bitmap and tilemap generation from a single example
-
Wave Function Collapse Algorithm
-
Algorithm Visualizer
-
A note from our sponsor - AppSignal
www.appsignal.com | 6 Oct 2026
Index
What are some of the best open-source Algorithm projects? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | coding-interview-university | 359,520 |
| 2 | TheAlgorithms | 225,225 |
| 3 | javascript-algorithms | 196,860 |
| 4 | tech-interview-handbook | 143,058 |
| 5 | hello-algo | 130,561 |
| 6 | Java | 66,346 |
| 7 | interviews | 65,192 |
| 8 | leetcode-master | 62,611 |
| 9 | leetcode | 55,774 |
| 10 | C-Plus-Plus | 34,733 |
| 11 | JavaScript | 34,275 |
| 12 | LeetCode-Go | 33,814 |
| 13 | interactive-coding-challenges | 31,677 |
| 14 | PythonRobotics | 30,624 |
| 15 | algorithms | 25,559 |
| 16 | WaveFunctionCollapse | 25,374 |
| 17 | homemade-machine-learning | 24,807 |
| 18 | Lean | 21,857 |
| 19 | algorithms | 18,770 |
| 20 | algorithm-pattern | 15,461 |
| 21 | awesome-competitive-programming | 14,167 |
| 22 | turf | 10,507 |
| 23 | ImageAI | 8,873 |