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.
Hot right now
Most stars gained in a day · Nov 30
coding-interview-university
jwasham/coding-interview-university · ★ 365.2KIt is a multi-month self-study plan covering the computer science topics you need to pass a software engineering interview at a large company.
+43hello-algo
krahets/hello-algo · ★ 132.8KHello Algo is a free, open-source illustrated book that teaches data structures and algorithms from scratch using animated diagrams and one-click runnable code.
Python
TheAlgorithms/Python · ★ 226.5KA large collection of classic algorithms and data structures implemented in Python, built as an educational reference for learning and practicing algorithms.
tech-interview-handbook
yangshun/tech-interview-handbook · ★ 143.8KA 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.
The all-time top
46 projects · by stars
- 365.2K
#1 · jwasham/coding-interview-universitycoding-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.
- 226.5K
#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.
- 196.8K
#3 · trekhleb/javascript-algorithmsjavascript-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.
- 4

CS-Notes
186.5KCyC2018/CS-Notes · JavaScriptCS-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.
- 5
tech-interview-handbook
143.8Kyangshun/tech-interview-handbook · TypeScriptA 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.
- 6

fucking-algorithm
136.1Klabuladong/fucking-algorithm · MarkdownThis 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.
- 7

hello-algo
132.8Kkrahets/hello-algo · PythonHello Algo is a free, open-source illustrated book that teaches data structures and algorithms from scratch using animated diagrams and one-click runnable code.
- 8

LeetCodeAnimation
76.7KMisterBooo/LeetCodeAnimation · JavaLeetCodeAnimation 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.
- 9
Java
67.3KTheAlgorithms/Java · JavaA GitHub collection of classic algorithms and data structures, each implemented in Java for educational purposes as part of The Algorithms project.
- 10

interviews
65.6Kkdn251/interviews · JavaA 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.
- 11

leetcode-master
62.8Kyoungyangyang04/leetcode-master · ShellThis 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.
- 12

leetcode
55.7Kazl397985856/leetcode · JavaScriptA 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.
- 13

algorithm-visualizer
49.5Kalgorithm-visualizer/algorithm-visualizer · JavaScriptAn 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.
- 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.
- 15

leetcode
36.8Kdoocs/leetcode · JavaA 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.
- 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.
- 17

x-algorithm
34.5Kxai-org/x-algorithm · RustThis 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

JavaScript
34.3KTheAlgorithms/JavaScript · JavaScriptA JavaScript implementation of classic algorithms and data structures, built for beginners who want readable, well-organized reference code.
- 19

LeetCode-Go
33.8Khalfrost/LeetCode-Go · GoA large, well-organized collection of LeetCode problem solutions written in Go, with 100% test coverage and runtime beating 100% of submissions on many problems.
- 20

interactive-coding-challenges
32Kdonnemartin/interactive-coding-challenges · PythonA 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.
- 21

PythonRobotics
31KAtsushiSakai/PythonRobotics · PythonPythonRobotics 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.
- 22

zstd
28.3Kmeta/zstd · CZstandard (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.
- 23

algorithms
25.6Kkeon/algorithms · PythonA 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.
- 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.
- 25

DSA-Bootcamp-Java
24.2Kkunal-kushwaha/DSA-Bootcamp-Java · JavaThis is a free Java data structures and algorithms (DSA) bootcamp repo holding the code samples, assignments, and notes for WeMakeDevs' interview-prep course.
- 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.
- 27

Anime4K
21.7Kbloc97/Anime4K · Jupyter NotebookAnime4K 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.
- 28

Fuse
20.5Kkrisk/Fuse · JavaScriptFuse.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.
- 29

algorithms
18.9Kwilliamfiset/algorithms · JavaA 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.
- 30

Awesome-GitHub-Repo
17.4KWechat-ggGitHub/Awesome-GitHub-RepoA 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.
- 31

algorithm-pattern
15.5Kgreyireland/algorithm-pattern · GoA 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.
- 32
brotli
15.1Kgoogle/brotli · TypeScriptBrotli 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.
- 33
blind_watermark
14.9Kguofei9987/blind_watermark · PythonThis 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.
- 34

awesome-competitive-programming
14.4Klnishan/awesome-competitive-programmingA curated list of resources for competitive programming, algorithms, and data structures, covering tutorials, courses, books, practice sites, tools, and communities.
- 35

stable-baselines3
14KDLR-RM/stable-baselines3 · PythonStable Baselines3 (SB3) is a set of reliable PyTorch implementations of reinforcement learning algorithms, meant to serve as solid baselines for research and industry projects.
- 36

primitive
13.6Kfogleman/primitive · GoIt 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.
- 37

MathModel
12.5Kzhanwen/MathModel · TeXA 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.
- 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.
- 39

a-picture-is-worth-a-1000-words
11.4Kgirliemac/a-picture-is-worth-a-1000-wordsA 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.
- 40

minbpe
11.1Kkarpathy/minbpe · Pythonminbpe 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.
- 41

turf
10.6KTurfjs/turf · TypeScriptTurf is a modular geospatial engine for JavaScript and TypeScript — a library for spatial analysis that works with GeoJSON data.
- 42
sktime
10.1Ksktime/sktime · Pythonsktime is a Python library for machine learning with time series: one unified interface for forecasting, classification, clustering, and anomaly or changepoint detection.
- 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.
- 44

FormFilla
4.6KAhmadHassan-BTed/FormFilla · TypeScriptFormFilla 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.
- 45

PySR
4.3Kastroautomata/PySR · PythonPySR 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.
- 46
sprix-sage-router
3.6Kwang2122/sprix-sage-router · PythonSAGE 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.
Related topics
Often tagged together
- education666
- open-source5,461
- algorithms98
- computer-science108
- data-structures67
- tutorial423
- learning327
- mit3,173
- python2,386
- interview-preparation75
- leetcode23
- chinese1,025
- library1,341
- interview65
- interview-questions51
- javascript1,557
- linux4,256
- machine-learning767
- beginner-friendly207
- cpp404
- java353
- resources534
- curated-list488
- macos3,658