Topics / #algorithm

Algorithm projects on GitHub

Singular variant of the algorithms topic: classic techniques and their implementations.

As of , the most-starred Algorithm projects on GitHub are coding-interview-university (365.2K stars), Python (226.5K stars) and javascript-algorithms (196.8K stars). GitHub.Locker tracks 46 Algorithm repositories with 2.4M stars combined. The fastest-growing on November 30 was coding-interview-university, with +58 stars in a day.

46Projects
2.4MStars in total
+384Stars in a day

Hot right now

Most stars gained in a day · Nov 30

The all-time top

46 projects · by stars

  1. #1 · jwasham/coding-interview-university

    coding-interview-university

    It is a multi-month self-study plan covering the computer science topics you need to pass a software engineering interview at a large company.

    365.2K
  2. #2 · TheAlgorithms/Python

    Python

    A large collection of classic algorithms and data structures implemented in Python, built as an educational reference for learning and practicing algorithms.

    226.5K
  3. #3 · trekhleb/javascript-algorithms

    javascript-algorithms

    A large collection of JavaScript implementations of classic algorithms and data structures, where each one has its own folder with code, tests, and a README explaining the theory and further reading links.

    196.8K
  1. 4

    CS-Notes

    186.5KCyC2018/CS-Notes · JavaScript

    CS-Notes is a huge Chinese-language collection of study notes covering the core topics of technical coding interviews: algorithms, LeetCode solutions, operating systems, computer networks, databases, Java, and system design.

  2. 5

    tech-interview-handbook

    143.8Kyangshun/tech-interview-handbook · TypeScript

    A free, curated collection of technical interview preparation materials for software engineers, created by the author of Blind 75, covering algorithms, behavioral questions, resumes, and more.

  3. 6

    fucking-algorithm

    136.1Klabuladong/fucking-algorithm · Markdown

    This is labuladong's Chinese-language algorithm notebook: 60+ original articles that use LeetCode problems to teach reusable problem-solving frameworks, not just paste-and-pass code answers.

  4. 7

    hello-algo

    132.8Kkrahets/hello-algo · Python

    Hello Algo is a free, open-source illustrated book that teaches data structures and algorithms from scratch using animated diagrams and one-click runnable code.

  5. 8

    LeetCodeAnimation

    76.7KMisterBooo/LeetCodeAnimation · Java

    LeetCodeAnimation is a collection of animated LeetCode problem walkthroughs: each animation shows how pointers move, how state and recursion unfold, and why boundaries hold, paired with reference code.

  6. 9

    Java

    67.3KTheAlgorithms/Java · Java

    A GitHub collection of classic algorithms and data structures, each implemented in Java for educational purposes as part of The Algorithms project.

  7. 10

    interviews

    65.6Kkdn251/interviews · Java

    A curated study guide for coding interviews, covering data structures, algorithms, greedy algorithms, bitmasks, runtime analysis, plus links to video lectures, interview books, online judges and mock interview platforms.

  8. 11

    leetcode-master

    62.8Kyoungyangyang04/leetcode-master · Shell

    This is a curated LeetCode study guide ('代码随想录') that organizes 200 classic problems into a step-by-step learning path, with detailed illustrated explanations, video breakdowns, and mind maps for mastering data structures and algorithms.

  9. 12

    leetcode

    55.7Kazl397985856/leetcode · JavaScript

    A large, continuously growing collection of worked LeetCode solutions, algorithm and data-structure explainers, Anki flashcard decks, and a 'daily problem' archive, written by the author as he solved problems himself.

  10. 13

    algorithm-visualizer

    49.5Kalgorithm-visualizer/algorithm-visualizer · JavaScript

    An interactive online platform that visualizes algorithms by running and animating your code step by step, so you can watch exactly how an algorithm behaves instead of just reading pseudocode.

  11. 14

    interview

    38.3Khuihut/interview · C++

    A large Chinese-language knowledge base summarizing core C/C++ interview topics — language features, STL, data structures, algorithms, operating systems, networking, databases, design patterns, and the linker/loader — aimed at students and job seekers preparing for C/C++ technical interviews.

  12. 15

    leetcode

    36.8Kdoocs/leetcode · Java

    A massive collection of LeetCode solutions, plus solutions for two popular Chinese interview prep books (Coding Interviews, 2nd edition and Cracking the Coding Interview, 6th edition), each problem solved in multiple programming languages.

  13. 16

    C-Plus-Plus

    34.9KTheAlgorithms/C-Plus-Plus · C++

    This is TheAlgorithms/C-Plus-Plus, an open-source collection of algorithm implementations in C++ covering computer science, mathematics, machine learning, and physics, built as a learning resource rather than for production use.

  14. 17

    x-algorithm

    34.5Kxai-org/x-algorithm · Rust

    This is the open-source code behind X's (Twitter's) 'For You' feed algorithm. It finds, scores, ranks, and filters which posts each viewer sees, blending posts from followed accounts with ML-discovered out-of-network content.

  15. 18

    JavaScript

    34.3KTheAlgorithms/JavaScript · JavaScript

    A JavaScript implementation of classic algorithms and data structures, built for beginners who want readable, well-organized reference code.

  16. 19

    LeetCode-Go

    33.8Khalfrost/LeetCode-Go · Go

    A large, well-organized collection of LeetCode problem solutions written in Go, with 100% test coverage and runtime beating 100% of submissions on many problems.

  17. 20

    interactive-coding-challenges

    32Kdonnemartin/interactive-coding-challenges · Python

    A collection of 120+ interactive, test-driven Python coding challenges covering algorithms and data structures commonly asked in coding interviews, each delivered as a Jupyter notebook with unit tests and a paired solution notebook, plus an included Anki flashcard deck.

  18. 21

    PythonRobotics

    31KAtsushiSakai/PythonRobotics · Python

    PythonRobotics is a Python code collection and textbook of classic robotics algorithms, covering localization, mapping, SLAM, path planning, path tracking, arm navigation, aerial navigation, and bipedal control.

  19. 22

    zstd

    28.3Kmeta/zstd · C

    Zstandard (zstd) is a fast lossless compression algorithm for real-time scenarios, at zlib-level ratios or better. This repo is the reference C implementation plus a CLI; the format is stable and documented in RFC8878.

  20. 23

    algorithms

    25.6Kkeon/algorithms · Python

    A collection of minimal, well-documented implementations of classic data structures and algorithms in Python 3, meant to be read and learned from rather than used as a dependency.

  21. 24

    WaveFunctionCollapse

    25.5Kmxgmn/WaveFunctionCollapse · C#

    A C# program that generates bitmaps and tilemaps locally similar to a single example image you give it, using ideas borrowed from quantum mechanics.

  22. 25

    DSA-Bootcamp-Java

    24.2Kkunal-kushwaha/DSA-Bootcamp-Java · Java

    This is a free Java data structures and algorithms (DSA) bootcamp repo holding the code samples, assignments, and notes for WeMakeDevs' interview-prep course.

  23. 26

    Lean

    22.6KQuantConnect/Lean · C#

    LEAN is QuantConnect's open-source, event-driven algorithmic trading engine, written in C# with Python support. You use it to build, backtest and live-trade strategies, with alternative data support out of the box.

  24. 27

    Anime4K

    21.7Kbloc97/Anime4K · Jupyter Notebook

    Anime4K is a set of open-source, real-time upscaling and denoising algorithms, implemented as GLSL shaders, that sharpen and upscale anime video on the fly inside your media player instead of permanently re-encoding the file.

  25. 28

    Fuse

    20.5Kkrisk/Fuse · JavaScript

    Fuse.js is a lightweight, zero-dependency fuzzy-search library for JavaScript and TypeScript. It runs in the browser and on Node, and is built for searching small-to-medium datasets client-side instead of standing up a dedicated search backend.

  26. 29

    algorithms

    18.9Kwilliamfiset/algorithms · Java

    A large open-source collection of classic algorithms and data structures implemented in Java, written to demonstrate correct implementations in the simplest and most elegant ways.

  27. 30

    Awesome-GitHub-Repo

    17.4KWechat-ggGitHub/Awesome-GitHub-Repo

    A hand-curated Chinese-language collection of interesting and high-quality open-source GitHub projects, organized into thematic categories (AI, fun hacks, real-world practice projects, tools, learning resources) rather than by programming language.

  28. 31

    algorithm-pattern

    15.5Kgreyireland/algorithm-pattern · Go

    A curated collection of reusable 'algorithm patterns' (templates) for solving coding-interview problems efficiently, written up from the author's own LeetCode grind while job hunting.

  29. 32

    brotli

    15.1Kgoogle/brotli · TypeScript

    Brotli is Google's general-purpose lossless compression algorithm, combining a modern LZ77 variant, Huffman coding and 2nd order context modeling. It runs at about deflate's speed but compresses denser.

  30. 33

    blind_watermark

    14.9Kguofei9987/blind_watermark · Python

    This is a Python library for blind, invisible image watermarking: you embed a hidden watermark into an image and can later extract it without needing the original, un-watermarked image.

  31. 34

    awesome-competitive-programming

    14.4Klnishan/awesome-competitive-programming

    A curated list of resources for competitive programming, algorithms, and data structures, covering tutorials, courses, books, practice sites, tools, and communities.

  32. 35

    stable-baselines3

    14KDLR-RM/stable-baselines3 · Python

    Stable Baselines3 (SB3) is a set of reliable PyTorch implementations of reinforcement learning algorithms, meant to serve as solid baselines for research and industry projects.

  33. 36

    primitive

    13.6Kfogleman/primitive · Go

    It recreates a target image out of geometric primitives: the algorithm keeps adding one shape at a time, each chosen to minimize the difference from the original, until the result is recognizable yet artistic and abstract.

  34. 37

    MathModel

    12.5Kzhanwen/MathModel · TeX

    A large Chinese repository collecting resources for mathematical modeling competitions: contest problems and award-winning papers from China's graduate and undergraduate math modeling contests (and some American MCM papers), plus LaTeX/Word paper templates, algorithm mind maps, textbooks, and Matlab tutorials.

  35. 38

    cp-algorithms

    11.5Kcp-algorithms/cp-algorithms · C++

    It is the source repository behind cp-algorithms.com, a free, ad-free, volunteer-run collection of articles explaining algorithms and data structures commonly used in competitive programming, translated and expanded from the Russian e-maxx.ru resource.

  36. 39

    a-picture-is-worth-a-1000-words

    11.4Kgirliemac/a-picture-is-worth-a-1000-words

    A personal collection of hand-drawn and digital tech doodles and sketchnotes explaining complex tech concepts (algorithms, web dev, machine learning, git, generative AI) in simple pictures.

  37. 40

    minbpe

    11.1Kkarpathy/minbpe · Python

    minbpe is a minimal, clean implementation of the Byte Pair Encoding (BPE) algorithm that modern LLMs like GPT, Llama and Mistral use to train their tokenizers.

  38. 41

    turf

    10.6KTurfjs/turf · TypeScript

    Turf is a modular geospatial engine for JavaScript and TypeScript — a library for spatial analysis that works with GeoJSON data.

  39. 42

    sktime

    10.1Ksktime/sktime · Python

    sktime is a Python library for machine learning with time series: one unified interface for forecasting, classification, clustering, and anomaly or changepoint detection.

  40. 43

    ThreadRace

    4.7KAhmadHassan-BTed/ThreadRace · C++

    ThreadRace is a C++ framework that measures and visualizes how much faster parallel (threaded) execution is compared to sequential execution, using the recursive Ackermann function as the workload.

  41. 44

    FormFilla

    4.6KAhmadHassan-BTed/FormFilla · TypeScript

    FormFilla is a local-first browser extension that automatically fills out job application forms using your profile data and files stored on your own device, instead of you copy-pasting the same details into every ATS form.

  42. 45

    PySR

    4.3Kastroautomata/PySR · Python

    PySR is an open-source tool for Symbolic Regression: it searches for an interpretable mathematical equation that fits your data, instead of training a black-box model.

  43. 46

    sprix-sage-router

    3.6Kwang2122/sprix-sage-router · Python

    SAGE is a research decision layer that sits above the A2A (Agent2Agent) protocol and decides, mid-execution, whether an in-flight task should stay with the current agent (SELF), recruit helpers (COLLABORATE), or be fully handed off to a specialist peer (HANDOFF), based on completed work, artifact reuse, observed quality, budget, and deadline.

Often tagged together