Algorithm

Top 23 Algorithm Open-Source Projects

Algorithm
  1. coding-interview-university

    A complete computer science study plan to become a software engineer.

    Project mention: Coding Interview University | news.ycombinator.com | 2026-05-01
  2. AppSignal

    AppSignal knows why the f*#k it crashed. Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.

    AppSignal logo
  3. TheAlgorithms

    All Algorithms implemented in Python

  4. javascript-algorithms

    📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

    Project mention: Dijkstra's Algorithm in JavaScript | news.ycombinator.com | 2025-11-08
  5. tech-interview-handbook

    Curated coding interview preparation materials for busy software engineers

    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

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

  7. Java

    All Algorithms implemented in Java

    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.

  8. interviews

    Everything you need to know to get the job.

  9. SaaSHub

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

    SaaSHub logo
  10. leetcode-master

    《代码随想录》LeetCode 刷题攻略:200道经典题目刷题顺序,共60w字的详细图解,视频难点剖析,50余张思维导图,支持C++,Java,Python,Go,JavaScript等多语言版本,从此算法学习不再迷茫!🔥🔥 来看看,你会发现相见恨晚!🚀

  11. leetcode

    LeetCode Solutions: A Record of My Problem Solving Journey.( leetcode题解,记录自己的leetcode解题之路。) (by azl397985856)

  12. C-Plus-Plus

    Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.

  13. JavaScript

    Algorithms and Data Structures implemented in JavaScript for beginners, following best practices. (by TheAlgorithms)

  14. LeetCode-Go

    ✅ Solutions to LeetCode by Go, 100% test coverage, runtime beats 100% | LeetCode 题解

  15. interactive-coding-challenges

    120+ interactive Python coding interview challenges (algorithms and data structures). Includes Anki flashcards.

  16. PythonRobotics

    Python sample codes and textbook for robotics algorithms.

  17. algorithms

    Minimal examples of data structures and algorithms in Python

    Project mention: Show HN: Algorithms 1.0.0 – Minimal and clean implementations of algorithms | news.ycombinator.com | 2026-02-17
  18. 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-01

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

  19. homemade-machine-learning

    🤖 Python examples of popular machine learning algorithms with interactive Jupyter demos and math being explained

  20. Lean

    Lean Algorithmic Trading Engine by QuantConnect (Python, C#)

    Project mention: Lean: Open source algorithmic trading engine | news.ycombinator.com | 2026-01-01
  21. algorithms

    A collection of algorithms and data structures (by williamfiset)

  22. algorithm-pattern

    Algorithm Patterns — the most scientific way to practice, the fastest path to an offer. You deserve it~ 算法模板,最科学的刷题方式,最快速的刷题路径,你值得拥有~

  23. awesome-competitive-programming

    :gem: A curated list of awesome Competitive Programming, Algorithm and Data Structure resources

  24. turf

    A modular geospatial engine written in JavaScript and TypeScript

    Project mention: Printable Route Directions with Geoapify: Complete Demo Walkthrough | dev.to | 2026-02-17

    Turf.js - geometry calculations for step previews

  25. ImageAI

    A python library built to empower developers to build applications and systems with self-contained Computer Vision capabilities

  26. SaaSHub

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

    SaaSHub logo
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).

Algorithm discussion

Log in or Post with

Algorithm related posts

  • 140 Bugs Were Hiding in One Function, and My Tests Couldn't See Any of Them

    2 projects | dev.to | 10 Aug 2026
  • Ten advances in mathematics and theoretical computer science

    4 projects | news.ycombinator.com | 1 Aug 2026
  • I ported a Python library to Rust. My fuzzer was lying to me.

    2 projects | dev.to | 2 Aug 2026
  • MuseAir hash: new fastest high-quality portable hashing algorithm, v1 released

    1 project | news.ycombinator.com | 10 Jul 2026
  • Bitmap and tilemap generation from a single example

    3 projects | news.ycombinator.com | 30 Apr 2026
  • Wave Function Collapse Algorithm

    1 project | news.ycombinator.com | 19 Apr 2026
  • Algorithm Visualizer

    1 project | news.ycombinator.com | 24 Mar 2026
  • A note from our sponsor - AppSignal
    www.appsignal.com | 6 Oct 2026
    Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise. Learn more →

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

Sponsored
AppSignal knows why the f*#k it crashed.
Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.
www.appsignal.com