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

Image
Arslan Ahmad
The best free GitHub repos for every round of a tech interview: coding, system design, behavioral, frontend, mobile, DevOps, data engineering, staff, and manager loops.
Image

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.

  1. It is free and readable on GitHub. No sign-up and no download is required to use it.
  2. It is organized. A reader can find one topic in under a minute. A single page of 2,000 unsorted questions does not qualify.
  3. 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

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.

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.

API Design, Microservices, and Concurrency

These three topics appear as full rounds at some companies and as follow-up questions at most others.

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.

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.

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.

DevOps, SRE, and Data Engineering

AI, Machine Learning, and Customer-Facing Engineering Roles

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.

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.

  1. 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.
  2. Pick one repository per round. Choose the one that matches your timeline. Reading three repositories on the same round repeats the same material.
  3. Practice aloud. A repository gives you knowledge, and an interview grades communication. Answer one question a day aloud, with a timer.
  4. 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:

Interview Preparation
GitHub
Coding Interview
System Design Interview

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!

More From Designgurus
Annual Subscription
Get instant access to all current and upcoming courses for one year.

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

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
Join our Newsletter

Get the latest system design articles and interview tips delivered to your inbox.

Read More

Heaps and Priority Queues for Coding Interviews: From Implementation to Top-K Problems

Arslan Ahmad

Arslan Ahmad

Atlassian Software Engineer Levels Explained: P30 to P90

Arslan Ahmad

Arslan Ahmad

System Design Trade-offs in 2025: A Step-by-Step Framework for FAANG Interviews

Arslan Ahmad

Arslan Ahmad

How to Build a Search Engine

Arslan Ahmad

Arslan Ahmad

Design Gurus logo
One-Stop Portal For Tech Interviews.
About Us
Our Team
Careers
Partners
Contact Us
Become Affiliate
Copyright © 2026 Design Gurus, LLC. All rights reserved.