Topics / #data-structures
Data-structures projects on GitHub
Core data structures like trees, heaps, and hash maps and their implementations.
As of , the most-starred Data-structures projects on GitHub are coding-interview-university (365.2K stars), Python (226.5K stars) and javascript-algorithms (196.8K stars). GitHub.Locker tracks 67 Data-structures repositories with 2.7M stars combined. The fastest-growing on December 1 was coding-interview-university, with +63 stars in a day.
Hot right now
Most stars gained in a day · Dec 1
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.
+46hello-algo
krahets/hello-algo · ★ 132.9KHello Algo is a free, open-source illustrated book that teaches data structures and algorithms from scratch using animated diagrams and one-click runnable code.
+42leetcode-company-wise-problems
liquidslr/leetcode-company-wise-problems · ★ 35.5KA curated collection of CSV files listing Leetcode questions grouped by the company that tends to ask them in interviews, such as Amazon, Google, Meta, and Uber.
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.
The all-time top
67 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
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.
- 5

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

hello-algo
132.9Kkrahets/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.
- 7

every-programmer-should-know
100.7Kmtdvio/every-programmer-should-knowA curated, highly opinionated collection of technical resources — articles, books, videos and papers — covering things every software developer should know, from algorithms and data structures to security, architecture and career advice.
- 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
guava
51.9Kgoogle/guava · JavaGuava is a set of core Java libraries from Google, providing new collection types (multimap, multiset), immutable collections, a graph library, and utilities for concurrency, I/O, hashing, primitives, and strings. It is heavily used inside Google and by many other companies.
- 14

Projects
48.1Kkaran/ProjectsA curated list of practical programming project ideas, grouped by category, that anyone can solve in any programming language.
- 15

CPlusPlusThings
43.6KLight-City/CPlusPlusThings · C++A Chinese-language repository (also partly in English) that walks C++ learners from basics to advanced topics: core language features, C++11/14/17/20, STL internals, design patterns, and concurrency, all backed by runnable code examples.
- 16

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

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

leetcode-company-wise-problems
35.5Kliquidslr/leetcode-company-wise-problemsA curated collection of CSV files listing Leetcode questions grouped by the company that tends to ask them in interviews, such as Amazon, Google, Meta, and Uber.
- 19

stb
35Knothings/stb · CA collection of 21 single-file libraries for C/C++ covering image loading, writing and resizing, font rasterizing, audio decoding, containers and more — all released into the public domain, with an MIT option if you need a regular license.
- 20
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.
- 21

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

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

immutable-js
33Kimmutable-js/immutable-js · TypeScriptA JavaScript library of persistent immutable data structures: List, Stack, Map, OrderedMap, Set, OrderedSet and Record. Nothing changes in place - each operation returns a new updated collection.
- 24

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.
- 25
immer
29Kimmerjs/immer · JavaScriptImmer is a small JavaScript library for working with immutable state: you write code that mutates your current state, and it produces the next immutable state tree for you.
- 26

CS-Books
28.1Kforthespada/CS-BooksA free, hand-curated collection of over 1,000 classic computer science books plus the author's own study notes, shared as a single GitHub README.
- 27

OI-wiki
27.2KOI-wiki/OI-wiki · TypeScriptA free, open and continuously updated wiki of competitive programming (OI/ICPC) knowledge: fundamentals, common problem types, solution strategies and tools, collected so beginners can learn systematically instead of digging through scattered articles.
- 28

Rust
26.2KTheAlgorithms/Rust · RustA free, open-source collection of classic algorithms implemented in Rust — the Rust volume of TheAlgorithms on GitHub. It exists for education: you read the code to learn how each algorithm works.
- 29

awesome-algorithms
25.7Ktayllan/awesome-algorithmsA curated list of places to learn and practice algorithms: links to courses, books, blogs, visualizers and problem sites, sorted by level and topic.
- 30

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

redisson
24.4Kredisson/redisson · JavaA Java client and real-time data platform for Redis and Valkey: 50+ distributed Java objects, collections and services — maps, queues, locks, rate limiters, bloom filters, schedulers — beyond what Redis offers natively.
- 32

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.
- 33
C
22.7KTheAlgorithms/C · CA community-maintained, open-source collection of algorithm implementations in C, covering computer science, mathematics, statistics, data science, machine learning and engineering.
- 34

ciencia-da-computacao
21.1KUniversidade-Livre/ciencia-da-computacaoThis is a free, Portuguese-language self-study curriculum for Computer Science, built by Universidade Livre (a Brazilian open university initiative) from existing open courses from Brazilian universities and institutions.
- 35

toml
20.7Ktoml-lang/tomlTOML (Tom's Obvious, Minimal Language) is a minimal configuration file format designed to be readable at a glance, with semantics obvious enough to map cleanly onto a hash table. This repository holds the in-development TOML specification itself.
- 36

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

Go
18.3KTheAlgorithms/Go · GoAn open-source collection of classic algorithms and data structures implemented in Go for education, with over 18k stars and an MIT license.
- 38

awesome-leetcode-resources
18.1Kashishps1/awesome-leetcode-resources · JavaA curated collection of resources for learning Data Structures and Algorithms (DSA) and preparing for coding interviews, including patterns, articles, curated problem lists, courses, books, and videos.
- 39

toBeBetterJavaer
17.9Kitwanger/toBeBetterJavaer · JavatoBeBetterJavaer (二哥的Java进阶之路) is a free, community-built Chinese knowledge base of original articles covering Java fundamentals, concurrency, the JVM, enterprise development (Spring Boot, MySQL, Redis) and interview prep, meant to help readers 'become a better Java developer'.
- 40

networkx
17.4Knetworkx/networkx · PythonNetworkX is a Python package for creating, manipulating, and studying complex networks — collections of nodes connected by edges — together with algorithms for analyzing them.
- 41

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

rust-by-practice
14.8Korigin-brain/rust-by-practice · RustA free online book of Rust exercises, examples, and practices designed to make you comfortable with Rust by writing and running real code instead of just reading theory.
- 43

leetcode-patterns
14.4Kseanprashad/leetcode-patterns · TypeScriptA curated, pattern-based study guide that groups LeetCode interview questions by the algorithmic pattern they test, so you repeatedly practice the same technique instead of randomly jumping between unrelated problems.
- 44

grokking_algorithms
13.8KegonSchiele/grokking_algorithms · JavaScriptThis repository holds the source code examples from the book Grokking Algorithms by Aditya Bhargava, meant to be read alongside the book's chapters.
- 45

cJSON
13.1KDaveGamble/cJSON · CAn ultralightweight JSON parser written in plain ANSI C. The whole thing is one C file and one header, with the stated goal of being the dumbest parser that still gets your job done.
- 46

concurrentqueue
12.5Kcameron314/concurrentqueue · C++moodycamel::ConcurrentQueue is an industrial-strength, lock-free multi-producer multi-consumer queue for C++11.
- 47
The-Complete-FAANG-Preparation
12.3KAkashSingh3031/The-Complete-FAANG-Preparation · Jupyter NotebookA large curated repository of resources for preparing for FAANG-style technical interviews: Data Structures and Algorithms sheets (450 DSA by Love Babbar, Striver's SheetS, Apna College), FAANG interview questions, core CS subjects, and system design material.
- 48

PythonPark
11.9KJack-Cherish/PythonPark · PythonA free, Chinese-language self-study guide to programming built around Python and AI: curated tutorials and videos on data structures, machine learning, deep learning, web scraping, interviews, and programmer life.
- 49

CodeGuide
11.9Kfuzhengwei/CodeGuide · ShellCodeGuide is a personal knowledge hub by Chinese Java engineer Fu Zheng Wei (小傅哥) that indexes years of his work: an interview handbook, hand-rolled clones of Spring and MyBatis, a JVM written in Java, Netty tutorials, bytecode-programming guides, and a published design-patterns book, all centered on core Java development.
- 50

awesome-c
11.7Koz123/awesome-cA curated list of awesome C frameworks, libraries, resources and other 'shiny things' for the C programming language, organized by category like AI, databases, compilers, crypto, and more.
- 51

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

xxHash
11.4KCyan4973/xxHash · CxxHash is an extremely fast, non-cryptographic hash algorithm library written in C, offering 32-bit (XXH32), 64-bit (XXH64), and the newer vectorized XXH3 (64/128-bit) hash variants.
- 53

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

serde
11Kserde-rs/serde · RustSerde is a Rust framework for serializing and deserializing data structures efficiently and generically.
- 55

orama
10.6Koramasearch/orama · TypeScriptOrama is a complete search engine and RAG pipeline that runs in your browser, on a server or at the edge, with support for full-text, vector and hybrid search.
- 56

single_file_libs
10Kr-lyeh/single_file_libsA curated catalog of single-file (or at most two-file) C/C++ libraries, organized by category, with emphasis on permissive, clause-less licenses like public domain, MIT, or ZLIB.
- 57

maths-cs-ai-compendium
7.7KHenryNdubuaku/maths-cs-ai-compendium · TypeScriptAn open, unconventional online textbook covering maths, computing and AI from the ground up — intuition first, real-world context, for practitioners who want deep understanding rather than exam survival.
- 58
OpenHeart
5.9KAhmadHassan-BTed/OpenHeart · RustOpenHeart is a static analysis compiler written in Rust that parses source code into a formal graph representation called SCPG (Succinct Compositional Program Graph) and projects it into 19 different diagrams: 14 standard UML 2.5 views plus 5 compiler pipeline IRs.
- 59
SDE-Interview-and-Prep-Roadmap
4.2Kaasthas2022/SDE-Interview-and-Prep-Roadmap · PythonA massive checklist-style roadmap for preparing for Software Development Engineer (SDE) interviews, covering Data Structures, Algorithms, System Design, Operating Systems, Networking, Databases, Programming Concepts, and System Architecture.
- 60

goose
3.7Kaardappel/goose · C++Goose is a memory-safe systems programming language with no heap allocator, garbage collector, or lifetime annotations. In its own benchmarks it runs faster than C++ and safe Rust while using less memory.
- 61

marisa-trie
1.1Kpytries/marisa-trie · CythonStatic, memory-efficient trie-like data structures for Python, built on the marisa-trie C++ library. Strings stored inside can take up to 50x-100x less memory than in a standard Python dict, with comparable lookup speed and fast prefix search.
- 62

ML-Interview-Prep
773jyotipmahes/ML-Interview-Prep · Jupyter NotebookA machine learning engineer (MLE) interview prep repository made of Jupyter notebooks with from-scratch algorithm implementations, LeetCode-style ML problems, and AI-assisted coding interview patterns.
- 63
bbtree
668XiangpengHao/bbtree · Rustbbtree is a Rust library implementing a concurrent ordered map (B-tree) that claims to be the fastest available: 5x faster than std's BTreeMap single-threaded and 12x faster than crossbeam-skiplist at 96 threads.
- 64

autumn-recruitment
314Akun-python/autumn-recruitment · Jupyter NotebookIt is a community-built, Chinese-language collection of Jupyter notebooks covering math foundations, data structures, machine learning, deep learning, LLMs, agents, AI infrastructure, speech, and data science, aimed at job-hunting ('autumn recruitment') interview prep in the LLM era.
- 65

graph
261statelyai/graph · TypeScriptA TypeScript library providing universal utilities for working with graphs: a plain {nodes, edges} JSON data model plus algorithms, format converters, and layout engines to actually use that data.
- 66
explaindb
191explaindb/explaindb · HTMLExplainDB is teaching material for a database systems course: a collection of Jupyter notebooks paired with a small Python DBMS (the system/ package) written to be readable, used alongside Prof. Jens Dittrich's 'Database Systems 2024/25' lecture at Saarland University.
- 67

learned_index_lab
166gilnett/learned_index_lab · RustIt is a pure Rust, zero-dependency implementation of the PGM-index (Piecewise Geometric Model learned index) along with a benchmark suite that compares it against a standard BTreeMap, flat slice binary search, and a cache-conscious Eytzinger layout.
Related topics
Often tagged together
- algorithms98
- education664
- computer-science108
- open-source5,458
- tutorial422
- interview-preparation75
- learning327
- algorithm46
- mit3,168
- interview65
- resources533
- library1,339
- beginner-friendly207
- learning-resources266
- leetcode23
- curated-list487
- python2,382
- interview-questions51
- cpp404
- java353
- chinese1,024
- book182
- free973
- awesome-list394