On this page
How the Repositories Were Chosen
The List at a Glance
Coding Interview Repositories
System Design Interview Repositories
Object-Oriented Design and Design Patterns
API Design, Microservices, and Concurrency
Frontend and Mobile Interview Repositories
Behavioral Interview Repositories
Staff Engineer, Engineering Manager, and Levels
DevOps, SRE, and Data Engineering
AI, Machine Learning, and Customer-Facing Engineering Roles
Company-Specific Interview Repositories
How to Use GitHub Repositories to Prepare
Frequently Asked Questions
What is the best GitHub repository for coding interviews?
What is the best GitHub repository for system design interviews?
Are GitHub repositories enough to pass a tech interview?
Are there GitHub repositories for behavioral interviews?
Are there GitHub repositories for one company's interview?
How many repositories should I study?
Next Steps
Best GitHub Repositories for Tech Interview Preparation, Organized by Interview Round


On This Page
How the Repositories Were Chosen
The List at a Glance
Coding Interview Repositories
System Design Interview Repositories
Object-Oriented Design and Design Patterns
API Design, Microservices, and Concurrency
Frontend and Mobile Interview Repositories
Behavioral Interview Repositories
Staff Engineer, Engineering Manager, and Levels
DevOps, SRE, and Data Engineering
AI, Machine Learning, and Customer-Facing Engineering Roles
Company-Specific Interview Repositories
How to Use GitHub Repositories to Prepare
Frequently Asked Questions
What is the best GitHub repository for coding interviews?
What is the best GitHub repository for system design interviews?
Are GitHub repositories enough to pass a tech interview?
Are there GitHub repositories for behavioral interviews?
Are there GitHub repositories for one company's interview?
How many repositories should I study?
Next Steps
GitHub holds thousands of interview preparation repositories, and most of them cover a single round: coding. A real hiring loop has four or five rounds, and each round grades something different. This guide lists the best free GitHub repositories for every round of a tech interview, so you can match your reading to the loop you actually face.
The list contains 51 repositories. Each entry says what the repository is, what it does best, and where it stops. We wrote 27 of them at Design Gurus, and we say so on each one. The other 24 come from the wider community, and several of them are among the most starred projects on GitHub.
How the Repositories Were Chosen
A repository earned a place on this list by meeting three conditions.
- It is free and readable on GitHub. No sign-up and no download is required to use it.
- It is organized. A reader can find one topic in under a minute. A single page of 2,000 unsorted questions does not qualify.
- It teaches reasoning. It explains why an answer is good, in addition to stating the answer.
Star counts are rounded down, because they change every week.
The List at a Glance
| Interview round | Start with |
|---|---|
| Coding | coding-interview-university, grokking-coding-interview |
| System design | system-design-primer, grokking-system-design |
| Object-oriented design | awesome-low-level-design, design-patterns |
| API design | api-design-interview |
| Frontend | front-end-interview-handbook, frontend-system-design-interview |
| Mobile | mobile-system-design-interview |
| Behavioral | amazon-leadership-principles, awesome-behavioral-interviews |
| Staff engineer | staff-engineer-interview |
| Engineering manager | engineering-manager-interview |
| DevOps and SRE | devops-exercises, devops-sre-interview |
| Data engineering | data-engineering-interview |
| AI and machine learning | grokking-ai-system-design |
| One company | google-interview-guide, meta-interview-guide, amazon-interview-guide |
Coding Interview Repositories
The coding round asks you to solve one or two algorithm problems in about 45 minutes while explaining your reasoning aloud. These six repositories cover the study plan, the patterns, and the reference implementations.
- jwasham/coding-interview-university (more than 360,000 stars). A complete computer science study plan, written by an engineer who used it to join a large technology company. It is the best choice for a reader without a computer science degree. The full plan takes several months, so it suits a long timeline.
- yangshun/tech-interview-handbook (more than 140,000 stars). A handbook covering algorithms study sheets, resume advice, and the interview process itself. It is the best single starting point for a reader with four to eight weeks.
- design-gurus/grokking-coding-interview. Our free companion to Grokking the Coding Interview. It lists 41 coding patterns, such as sliding window and two pointers, and explains how to recognize each pattern in a problem you have not seen before.
- kdn251/interviews (more than 65,000 stars). A compact reference of data structures, algorithms, and their running times, with solved problems in Java.
- TheAlgorithms/Python (more than 220,000 stars). Hundreds of algorithms implemented in Python. Use it to check an implementation, and not as a study plan.
- trekhleb/javascript-algorithms (more than 190,000 stars). The same idea for JavaScript, with a short explanation beside each algorithm.
To practice the patterns on real problems with a built-in code runner, see Grokking the Coding Interview.
System Design Interview Repositories
The system design round asks you to design a large system, such as a chat service or a video platform, and to defend your trade-offs. A trade-off is a choice in which gaining one property costs you another.
- donnemartin/system-design-primer (more than 370,000 stars). The best-known system design repository. It covers the core concepts and several worked designs. Our review of the System Design Primer explains what it covers well and what it leaves out.
- design-gurus/grokking-system-design. Our free companion to Grokking the System Design Interview: 30 patterns, 59 question walkthroughs, 35 cheat sheets, and guides for 122 companies.
- ByteByteGoHq/system-design-101 (more than 90,000 stars). Short visual explanations of how common systems work. It is the best choice for a reader who learns from diagrams.
- karanpratapsingh/system-design (more than 45,000 stars). A course-style walk through the fundamentals in one long, ordered document.
- binhnguyennus/awesome-scalability (more than 75,000 stars). A reading list of engineering articles from companies that operate at large scale.
- design-gurus/system-design-numbers. Our reference for back-of-the-envelope estimation, which is the quick arithmetic used to size a system. It holds the latency and availability tables and ten worked estimations.
- design-gurus/best-system-design-resources. Our list of courses, books, papers, and videos, sorted by level.
For a longer list on this round alone, read the best system design GitHub resources. The full course is Grokking the System Design Interview.
Object-Oriented Design and Design Patterns
This round, also called low-level design, asks you to model a small system such as a parking lot as classes and interfaces.
- ashishps1/awesome-low-level-design (more than 28,000 stars). Solved low-level design problems with code in several languages.
- iluwatar/java-design-patterns (more than 90,000 stars). Each classic design pattern implemented in Java with a short explanation.
- design-gurus/design-patterns. Our guide to the 22 Gang of Four patterns and more than 60 system design patterns, with trade-offs and failure modes for each.
API Design, Microservices, and Concurrency
These three topics appear as full rounds at some companies and as follow-up questions at most others.
- design-gurus/api-design-interview. A six-step method for the API design round, the core concepts such as idempotency and pagination, and eight question walkthroughs.
- interagent/http-api-design (more than 13,000 stars). A style guide for HTTP APIs drawn from work on a production platform. It teaches conventions, and it does not cover the interview.
- design-gurus/microservices-interview-questions. About 100 microservices questions with short model answers, from service boundaries to the saga pattern.
- design-gurus/concurrency-interview. The core concurrency concepts and nine classic problems, such as the bounded buffer and the dining philosophers, each solved in Java, Python, and Go.
Frontend and Mobile Interview Repositories
Frontend and mobile engineers face their own design round, in which the system being designed runs on the user's device.
- yangshun/front-end-interview-handbook (more than 44,000 stars). Answers to the common JavaScript, HTML, and CSS questions, plus guidance on the frontend loop.
- h5bp/Front-end-Developer-Interview-Questions (more than 60,000 stars). A long, sorted list of frontend questions. It gives no answers, so it works best as a self-test.
- sudheerj/javascript-interview-questions (more than 27,000 stars). JavaScript questions with answers and code samples.
- design-gurus/frontend-system-design-interview. A five-step framework for the frontend design round, ten concept pages covering rendering, state, and performance, and eight question walkthroughs.
- weeeBox/mobile-system-design (more than 5,000 stars). A widely used framework for answering a mobile design question.
- design-gurus/mobile-system-design-interview. Our guide for iOS and Android engineers: offline sync, caching, push notifications, performance, and eight question walkthroughs.
Behavioral Interview Repositories
The behavioral round asks for stories from your past work. Most candidates prepare for it last, and many loops are decided by it.
- design-gurus/amazon-leadership-principles. All 16 Amazon Leadership Principles, each with interview questions, a sample answer, and what the interviewer listens for. It also explains how the Amazon loop works.
- ashishps1/awesome-behavioral-interviews (more than 9,000 stars). A collection of behavioral questions and links to preparation material.
The full course for this round is Grokking Modern Behavioral Interview.
Staff Engineer, Engineering Manager, and Levels
Senior loops grade scope and judgment more than raw problem solving, and very few repositories address them.
- design-gurus/staff-engineer-interview. What changes at staff level: the loop, system design at staff scope, the project deep dive, and how to avoid an offer one level lower.
- design-gurus/engineering-manager-interview. The manager loop round by round: people management, the project retrospective, behavioral questions, and system design for managers.
- ryanburgess/engineer-manager (more than 10,000 stars). A reading list for working engineering managers. It is useful background, although it is not written for interviews.
- design-gurus/software-engineer-levels. The engineering ladders at 16 companies, how the levels map across them, and what interviews expect at each level.
- jorgef/engineeringladders (more than 8,000 stars). A framework for describing what each engineering level is expected to do.
DevOps, SRE, and Data Engineering
- bregman-arie/devops-exercises (more than 86,000 stars). Thousands of questions and exercises on Linux, networking, containers, and cloud platforms. Its size is its strength and its weakness, so choose topics before you start.
- mxssl/sre-interview-prep-guide (more than 9,000 stars). A list of links for site reliability engineering interviews, sorted by topic.
- design-gurus/devops-sre-interview. The loop round by round, including troubleshooting, SRE system design, and incident response, with a curated bank of 60 questions.
- DataExpert-io/data-engineer-handbook (more than 45,000 stars). Links to books, courses, and communities for data engineers.
- design-gurus/data-engineering-interview. The SQL, data modeling, and pipeline design rounds, with twelve concept pages and six pipeline design walkthroughs.
AI, Machine Learning, and Customer-Facing Engineering Roles
- design-gurus/grokking-ai-system-design. Building blocks, design questions, and reference sheets for machine learning, large language model, and agent design rounds.
- chiphuyen/machine-learning-systems-design (more than 10,000 stars). A booklet on designing machine learning systems, with exercises.
- alirezadir/AIMLInterviews (more than 10,000 stars). A guide to machine learning and generative AI interviews, including a design framework.
- design-gurus/forward-deployed-engineer-interview. The forward deployed engineer loop, in which an engineer builds directly with a customer. It covers the decomposition round and the loops at five companies.
- design-gurus/solutions-architect-interview. The architecture design, customer discovery, and presentation rounds, with the loops at five cloud and data companies.
Company-Specific Interview Repositories
Each large company runs its loop in its own way, and a guide written for one company saves you from preparing for rounds you will not face. We wrote one repository for each of eight companies. Each one covers the interview process, the coding, system design, and behavioral rounds, the level ladder, a question bank with links to worked lessons, and a four-week plan.
- design-gurus/google-interview-guide. The Google loop, including the hiring committee, team matching, and the behavioral signal that Google calls Googleyness.
- design-gurus/meta-interview-guide. The Meta loop, including the fast coding rounds and the choice between a system design and a product architecture interview.
- design-gurus/amazon-interview-guide. The Amazon loop, including the online assessment, the Bar Raiser, and how the Leadership Principles appear in every interview.
- design-gurus/microsoft-interview-guide. The Microsoft loop, including the numeric levels and the final interview with a senior leader.
- design-gurus/apple-interview-guide. The Apple loop, in which each team runs its own process and domain depth carries extra weight.
- design-gurus/netflix-interview-guide. The Netflix loop, including the culture interviews and the weight on system design for senior engineers.
- design-gurus/openai-interview-guide. The OpenAI loop, including practical coding rounds, system design with AI components, and the differences between roles.
- design-gurus/anthropic-interview-guide. The Anthropic loop, including the written application answer, staged coding rounds, the values round, and the differences between roles.
How to Use GitHub Repositories to Prepare
A list of 51 repositories is only useful if you read very few of them. Follow these four steps.
- Write down your loop. Ask your recruiter which rounds you will face. A typical software engineer loop has two coding rounds, one system design round, and one behavioral round.
- Pick one repository per round. Choose the one that matches your timeline. Reading three repositories on the same round repeats the same material.
- Practice aloud. A repository gives you knowledge, and an interview grades communication. Answer one question a day aloud, with a timer.
- Fill the gaps with a course. Repositories give outlines and references. A course gives worked solutions, exercises, and an order to study in.
Frequently Asked Questions
What is the best GitHub repository for coding interviews?
For a short timeline, start with tech-interview-handbook. For a long timeline or a missing computer science background, use coding-interview-university. To learn the problem patterns directly, use grokking-coding-interview.
What is the best GitHub repository for system design interviews?
The system-design-primer is the most complete free introduction to the concepts. The grokking-system-design repository adds question walkthroughs, cheat sheets, and company guides. Use system-design-numbers for estimation.
Are GitHub repositories enough to pass a tech interview?
They are enough to learn the concepts. They are usually not enough alone, because an interview also tests timed problem solving and spoken explanation. Combine one repository per round with timed practice and at least two mock interviews.
Are there GitHub repositories for behavioral interviews?
Yes, although far fewer than for coding. The amazon-leadership-principles repository covers the Amazon format in detail, and awesome-behavioral-interviews collects general questions and resources.
Are there GitHub repositories for one company's interview?
Yes. This list includes a full guide for each of eight companies: Google, Meta, Amazon, Microsoft, Apple, Netflix, OpenAI, and Anthropic. Each guide covers that company's whole loop and links its questions to worked lessons.
How many repositories should I study?
Study one per round, which means three or four for most loops. Finishing one repository is worth more than starting five.
Next Steps
Choose the rounds in your loop from the table at the top, open one repository for each, and schedule your first timed practice session this week. When you want worked solutions and a set order to study in, these courses continue where the repositories stop:
What our users say
Eric
I've completed my first pass of "grokking the System Design Interview" and I can say this was an excellent use of money and time. I've grown as a developer and now know the secrets of how to build these really giant internet systems.
Brandon Lyons
The famous "grokking the system design interview course" on http://designgurus.io is amazing. I used this for my MSFT interviews and I was told I nailed it.
pikacodes
I've tried every possible resource (Blind 75, Neetcode, YouTube, Cracking the Coding Interview, Udemy) and idk if it was just the right time or everything finally clicked but everything's been so easy to grasp recently with Grokking the Coding Interview!
Access to 50+ courses
New content added monthly
Certificate of completion
$35.83
/month
Billed Annually
Recommended Course

Grokking Dynamic Programming Patterns for Coding Interviews
13,428+ students
4.4
Grokking Dynamic Programming Patterns for Coding Interviews in Python, Java, JavaScript, and C++. A complete guide to grokking dynamic programming.
View Course