Topics / #leetcode

Leetcode projects on GitHub

Practice problems and solutions for algorithm coding challenge platforms.

As of , the most-starred Leetcode projects on GitHub are javascript-algorithms (196.7K stars), CS-Notes (186.3K stars) and tech-interview-handbook (143K stars). GitHub.Locker tracks 34 Leetcode repositories with 1.5M stars combined. The fastest-growing on October 16 was hello-algo, with +44 stars in a day.

34Projects
1.5MStars in total
+174Stars in a day

Hot right now

Most stars gained in a day · Oct 16

The all-time top

34 projects · by stars

  1. #1 · 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
  2. #2 · CyC2018/CS-Notes

    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.

    186.3K
  3. #3 · yangshun/tech-interview-handbook

    tech-interview-handbook

    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.

    143K
  1. 4

    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.

  2. 5

    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.

  3. 6

    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.

  4. 7

    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.

  5. 8

    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.

  6. 9

    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.

  7. 10

    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.

  8. 11

    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.

  9. 12

    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.

  10. 13

    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.

  11. 14

    leetcode-company-wise-problems

    31.5Kliquidslr/leetcode-company-wise-problems

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

  12. 15

    awesome-algorithms

    25.6Ktayllan/awesome-algorithms

    A curated list of places to learn and practice algorithms: links to courses, books, blogs, visualizers and problem sites, sorted by level and topic.

  13. 16

    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.

  14. 17

    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.

  15. 18

    LeetCode-Questions-CompanyWise

    20.3Kkrishnadey30/LeetCode-Questions-CompanyWise

    A curated collection of LeetCode coding interview questions organized by the company that asked them, sorted by frequency and time period.

  16. 19

    LeetcodeTop

    20.1Kafatcoder/LeetcodeTop

    LeetcodeTop is a curated collection of the LeetCode problems most frequently asked in technical interviews at major Chinese internet companies, compiled from real interview recap posts.

  17. 20

    interview

    18.4KOlshansk/interview

    A curated collection of links — books, courses, articles, question banks, mock-interview services, and videos — meant to help you prepare for a technical interview, especially at companies like Google and Facebook.

  18. 21

    leetcode

    18.1Khaoel/leetcode · C++

    A large collection of solutions to LeetCode algorithm problems, written mostly in C++, where the README works as an index table of every covered problem.

  19. 22

    awesome-leetcode-resources

    18Kashishps1/awesome-leetcode-resources · Java

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

  20. 23

    DeepLearning

    17.8KMikoto10032/DeepLearning · Jupyter Notebook

    A Chinese-language deep learning tutorial — a huge curated collection of links to courses, books, lecture notes, surveys and code, taking you from math basics through CNNs, GANs, RNNs and GNNs to Kaggle practice and interview prep.

  21. 24

    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.

  22. 25

    leetcode-patterns

    14.2Kseanprashad/leetcode-patterns · TypeScript

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

  23. 26

    LearningNotes

    13.1Kfrancistao/LearningNotes

    This is a large personal collection of Chinese-language study notes covering Android development, Java, JVM internals, data structures, algorithms, networking, and interview prep, organized as a GitHub repo of Markdown files.

  24. 27

    machine-learning-interview

    12.8Kkhangich/machine-learning-interview

    A curated study guide and resource collection for machine learning interviews at FAANG-level companies, written by someone who received offers from Google, LinkedIn, Snap, Coupang and StitchFix.

  25. 28

    The-Complete-FAANG-Preparation

    12.3KAkashSingh3031/The-Complete-FAANG-Preparation · Jupyter Notebook

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

  26. 29

    LeetCUDA

    12.1Kxlite-dev/LeetCUDA · Cuda

    LeetCUDA is an open-source book of CUDA learning notes for beginners, paired with a library of 200+ hand-written CUDA kernels (elementwise ops, HGEMM, Flash-Attention, etc.) and 100+ CUDA/LLM blog posts.

  27. 30

    leetcode-company-wise-problems-2022

    11.4Khxu296/leetcode-company-wise-problems-2022 · Jupyter Notebook

    A free collection of the company-wise LeetCode question lists that normally sit behind LeetCode Premium, saved as CSV files and current as of May 2022.

  28. 31

    leetcode

    11.3Ksoulmachine/leetcode · TeX

    A free book of fully worked LeetCode solutions covering 151 problems, written and typeset in LaTeX with C++ code (a Java edition is also in progress).

  29. 32

    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.

  30. 33

    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.

  31. 34

    TorchCode

    4.7Kduoan/TorchCode · Jupyter Notebook

    TorchCode is a LeetCode-style practice platform for PyTorch: it gives you 41 curated coding problems where you implement ML operators and architectures (softmax, attention, GPT-2 blocks, etc.) from scratch inside Jupyter notebooks, with an automated judge that checks correctness, gradients, and timing instantly.

Often tagged together