[Go to site: main page, start]

Algorithms

Top 23 Algorithm Open-Source Projects

Algorithms
  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. SaaSHub

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

    SaaSHub logo
  3. TheAlgorithms

    All Algorithms implemented in Python

    Project mention: Stop Hoarding Junk Code! Your Algorithm Learning Bible Awaits | dev.to | 2025-09-01

    git clone https://github.com/TheAlgorithms/Python.git cd 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. JavaGuide

    Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

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

  7. fucking-algorithm

    Crack LeetCode, not only how, but also why.

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

  9. cs-video-courses

    List of Computer Science courses with video lectures.

  10. Java

    All Algorithms implemented in Java

  11. interviews

    Everything you need to know to get the job.

  12. leetcode

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

  13. hello-algorithm

    🌍 针对小白的算法训练 | 包括四部分:①.大厂面经 ②.力扣图解 ③.千本开源电子书 ④.百张技术思维导图(项目花了上百小时,希望可以点 star 支持,🌹感谢~)推荐免费ChatGPT使用网站

  14. JavaScript

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

  15. LeetCode-Go

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

  16. swift-algorithm-club

    Algorithms and data structures in Swift, with explanations!

  17. OI-wiki

    :star2: Wiki of OI / ICPC for everyone. (某大型游戏线上攻略,内含炫酷算术魔法)

  18. Rust

    All Algorithms implemented in Rust (by TheAlgorithms)

  19. 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
  20. DSA-Bootcamp-Java

    This repository consists of the code samples, assignments, and notes for the Java data structures & algorithms + interview preparation bootcamp of WeMakeDevs.

  21. C

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

    Project mention: guiarstr VS C - a user suggested alternative | libhunt.com/r/guiarstr | 2025-07-24

    GuiarStr was built as a modern, lightweight alternative to older string manipulation libraries like sds. It focuses on simplicity, clean API, and zero dependencies while providing commonly needed features like trim, split, replace, tolower, and toupper.

  22. algorithms

    A collection of algorithms and data structures (by williamfiset)

  23. Go

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

  24. SciPy

    SciPy library main repository

    Project mention: Uv is fantastic, but its package management UX is a mess | news.ycombinator.com | 2026-05-21

    Scipy maintainer here, the main issue with the wheels was the Fortran77 that was SciPy throwing wrenches into the mix. With C/C++ self compilation should be quite straightforward. We (all Scientific Python packages) really worked hard on that.

    From version 1.19 of SciPy there will be no need for fortran compilers (because we translated everything to C https://github.com/scipy/scipy/issues/18566) and then all becomes much easier in all platforms due to the large availability of C compilers in all platforms. Together with the Stable API developments in CPython the wheel clash issues "hopefully" will decrease gradually.

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

Algorithms discussion

Log in or Post with

Algorithms related posts

  • JavaScript implementation of the Knuth-Plass linebreaking algorithm

    2 projects | news.ycombinator.com | 8 May 2026
  • Parrot is a C++ library for fused array operations using CUDA/Thrust

    1 project | news.ycombinator.com | 21 Apr 2026
  • Bayan Flow 0.4.0: From Algorithm Visualization to Real Understanding

    1 project | dev.to | 19 Apr 2026
  • Algorithms for Modern Hardware

    1 project | news.ycombinator.com | 9 Apr 2026
  • Show HN: Lapack without Fortran77; a C11 translation

    2 projects | news.ycombinator.com | 4 Apr 2026
  • Bayan Flow 0.3.0: From 6 to +20 Algorithms

    1 project | dev.to | 29 Mar 2026
  • Optimizing a Lock-Free Ring Buffer

    2 projects | news.ycombinator.com | 26 Mar 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 16 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? This list will help you:

# Project Stars
1 coding-interview-university 351,255
2 TheAlgorithms 221,910
3 javascript-algorithms 196,070
4 JavaGuide 156,282
5 tech-interview-handbook 140,228
6 fucking-algorithm 133,588
7 hello-algo 126,644
8 cs-video-courses 81,757
9 Java 65,829
10 interviews 64,936
11 leetcode 55,758
12 hello-algorithm 36,072
13 JavaScript 34,185
14 LeetCode-Go 33,774
15 swift-algorithm-club 29,103
16 OI-wiki 26,133
17 Rust 25,843
18 algorithms 25,466
19 DSA-Bootcamp-Java 22,649
20 C 22,008
21 algorithms 18,636
22 Go 18,075
23 SciPy 14,744

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