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 (362.6K stars), Python (225.3K stars) and javascript-algorithms (196.7K stars). GitHub.Locker tracks 60 Algorithm repositories with 2.6M stars combined. The fastest-growing on October 16 was hello-algo, with +44 stars in a day.

60Projects
2.6MStars in total
+367Stars in a day

Hot right now

Most stars gained in a day · Oct 16

The all-time top

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

    362.6K
  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.

    225.3K
  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.7K
  1. 4

    CS-Notes

    186.3KCyC2018/CS-Notes

    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

    143Kyangshun/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

    135.9Klabuladong/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

    130.8Kkrahets/hello-algo · Java

    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

    66.4KTheAlgorithms/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.3Kkdn251/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.7Kyoungyangyang04/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

    48.9Kalgorithm-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.2Khuihut/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.7Kdoocs/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

    hello-algorithm

    36.1Kgeekxh/hello-algorithm · Java

    Hello Algorithm (小浩算法) is a free, Chinese-language collection for beginners learning algorithms, bundling illustrated LeetCode solutions, big-tech interview write-ups, open-source ebooks, and mind maps.

  14. 17

    C-Plus-Plus

    34.8KTheAlgorithms/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.

  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

    x-algorithm

    33.7Kxai-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.

  18. 21

    interactive-coding-challenges

    31.9Kdonnemartin/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.

  19. 22

    PythonRobotics

    30.7KAtsushiSakai/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.

  20. 23

    zstd

    28Kfacebook/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.

  21. 24

    JCSprout

    26.8KcrossoverJie/JCSprout · Java

    JCSprout ('Java Core Sprout') is a Chinese-language knowledge base of core Java topics: a curated collection of articles on collections, multithreading, JVM internals, distributed systems, frameworks, algorithms and Netty, with over 26k GitHub stars.

  22. 25

    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.

  23. 26

    WaveFunctionCollapse

    25.4Kmxgmn/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.

  24. 27

    homemade-machine-learning

    24.8Ktrekhleb/homemade-machine-learning · Jupyter Notebook

    A collection of popular machine learning algorithms implemented from scratch in Python, each paired with an interactive Jupyter Notebook demo and an explanation of the math behind it.

  25. 28

    DSA-Bootcamp-Java

    24Kkunal-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.

  26. 29

    algo

    23.1Kwangzheng0822/algo · Python

    A curated set of 50 Python implementations of classic data structures and algorithms (arrays, linked lists, stacks, queues, trees, graphs, sorting, dynamic programming and more), built as companion exercises for the author's data-structures-and-algorithms course.

  27. 30

    Lean

    22KQuantConnect/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.

  28. 31

    Anime4K

    21.5Kbloc97/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.

  29. 32

    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.

  30. 33

    algorithms

    18.8Kwilliamfiset/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.

  31. 34

    tech-interview-for-developer

    17.6Kgyoogle/tech-interview-for-developer · Java

    This is a Korean encyclopedia of CS fundamentals and technical interview questions for entry-level developers, covering computer architecture, data structures, databases, networks, operating systems, algorithms, design patterns, and programming languages.

  32. 35

    gods

    17.5Kemirpasic/gods · Go

    GoDS (Go Data Structures) is a Go library that implements the classic data structures and algorithms the Go standard library leaves out: sets, lists, stacks, maps, trees and queues.

  33. 36

    Awesome-GitHub-Repo

    17.3KWechat-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.

  34. 37

    blurhash

    17.1Kwoltapp/blurhash · C

    BlurHash is a compact image placeholder: a 20-30 character string that encodes a blurry preview of an image, which clients decode and show while the real image loads.

  35. 38

    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.

  36. 39

    brotli

    14.9Kgoogle/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.

  37. 40

    blind_watermark

    14.8Kguofei9987/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.

  38. 41

    awesome-competitive-programming

    14.2Klnishan/awesome-competitive-programming

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

  39. 42

    stable-baselines3

    13.9KDLR-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.

  40. 43

    cosmos

    13.7KOpenGenus/cosmos · C++

    Cosmos is OpenGenus's offline collection of algorithms and data structures — a contributor-driven code dataset with solutions in many languages, used in the Quark Search Engine, OpenGenus IQ and OpenGenus Visual Project.

  41. 44

    primitive

    13.5Kfogleman/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.

  42. 45

    Ai-Learn

    13.4Ktangyudi/Ai-Learn

    This is a free, structured roadmap of nearly 200 hands-on AI learning projects covering Python, math, machine learning, data analysis, deep learning, computer vision and NLP, created by instructor Tangyudi (唐宇迪) to help beginners become job-ready in AI.

  43. 46

    MyTinySTL

    12.5KAlinshans/MyTinySTL · C++

    A tiny reimplementation of the C++ Standard Template Library written from scratch in C++11 — most standard containers and algorithms, started as the author's first practice project and now at version 2.x.x.

  44. 47

    MathModel

    12.4Kzhanwen/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.

  45. 48

    Statistical-Learning-Method_Code

    11.6KDod-o/Statistical-Learning-Method_Code · Python

    A from-scratch Python implementation of every algorithm covered in Li Hang's book 'Statistical Learning Method' (统计学习方法), with heavily commented code that maps directly to the formulas in the book.

  46. 49

    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.

  47. 50

    cp-algorithms

    11.3Kcp-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.

  48. 51

    apachecn-algo-zh

    11.2Kapachecn/apachecn-algo-zh · JavaScript

    A free ApacheCN anthology of Chinese translations of data-structure and algorithm texts: LeetCode solution sets in four languages, Coding Interviews (剑指 Offer) solutions and translated books, all readable online.

  49. 52

    spec

    10.8Kulid/spec

    This is the canonical specification for ULID (Universally Unique Lexicographically Sortable Identifier), a 128-bit identifier format designed as a sortable, URL-safe alternative to UUID.

  50. 53

    minbpe

    10.8Kkarpathy/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.

  51. 54

    algorithm-base

    10.7Kchefyuan/algorithm-base

    A Chinese-language collection of algorithm and data-structure tutorials that uses animated diagrams to explain classic LeetCode and 剑指Offer interview problems in simple, easy-to-follow terms.

  52. 55

    jwt-go

    10.7Kdgrijalva/jwt-go · Go

    A Go library implementing JSON Web Tokens (JWT): it parses, verifies, generates, and signs tokens.

  53. 56

    turf

    10.5KTurfjs/turf · TypeScript

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

  54. 57

    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.

  55. 58

    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.

  56. 59

    ict-trading-model

    314carreypro/ict-trading-model · Python

    ICT Trading Model is a Codex skill that combines multi-timeframe bias, liquidity mapping, premium/discount location, session context, displacement, market structure, and PD arrays into a strict ICT/SMC (Inner Circle Trader / Smart Money Concepts) setup-validation framework.

  57. 60

    roster-match

    104charlenemercury/roster-match · JavaScript

    A zero-dependency JavaScript library that matches a Chinese name heard through speech recognition (or any garbled transcript) to the correct entry in a roster, comparing by pinyin syllables and surfacing candidates with reasons instead of forcing a decision when it is unsure.

Often tagged together