Best GitHub repositories for AI and machine learning interview questions

Thirteen free GitHub repositories for ML, deep learning, LLM, and AI engineering interview prep, with what each covers and how to study with them.

5 min read Interviews editorial team

  • ai
  • machine learning
  • llm
  • github
  • interview prep
On this page
  1. Handbooks and study guides
  2. Question banks for ML and deep learning
  3. LLM and AI engineering questions
  4. AI system design
  5. A four-week study plan using these repositories
  6. Using question banks well
  7. FAQ
  8. Find AI roles and prepare for them

AI and ML interview prep is harder to organize than most fields because the topics change quickly. Classic machine learning questions still appear in almost every loop, but applied AI roles now add retrieval, evaluation, agents, and LLM system design. The repositories below cover both sides.

We last checked every repository on 26 November 2026. All links were live, and the star counts are the ones GitHub showed that day, rounded. Some LLM focused lists are new and change often, so check the last commit date before relying on any answer.

Handbooks and study guides

1. chiphuyen/ml-interviews-book

github.com/chiphuyen/ml-interviews-book, about 4,800 stars.

The source for an open book on machine learning interviews by Chip Huyen. It explains the types of ML roles, the interview process, and a large set of questions on math, ML fundamentals, and ML in production.

How to use it: read the chapters on the interview process first to understand what each role expects, then use the question chapters as self tests.

2. alirezadir/AIMLInterviews

github.com/alirezadir/AIMLInterviews, about 10,500 stars.

A structured guide to ML engineering interviews, formerly at the Machine-Learning-Interviews address. It covers coding, ML fundamentals, ML system design with example problems, and behavioral rounds. The ML system design section is especially useful.

3. khangich/machine-learning-interview

github.com/khangich/machine-learning-interview, about 12,900 stars.

A study plan and resource list for machine learning interviews at large tech companies, including ML system design topics and links to papers and talks. It has not been updated in a while, so pair it with newer sources for LLM topics.

Question banks for ML and deep learning

4. andrewekhalel/MLQuestions

github.com/andrewekhalel/MLQuestions, about 5,000 stars.

Technical interview questions for machine learning and computer vision engineers, with short answers. Good for quick review of fundamentals such as regularization, bias and variance, and convolutional networks.

5. youssefHosni/Data-Science-Interview-Questions-Answers

github.com/youssefHosni/Data-Science-Interview-Questions-Answers, about 5,900 stars.

Questions and answers across machine learning, deep learning, statistics, probability, and Python for data science interviews. Useful for roles that blend data science and ML engineering.

6. b7leung/MLE-Flashcards

github.com/b7leung/MLE-Flashcards, about 2,500 stars.

Flashcards on machine learning, computer vision, and computer science topics. Good for spaced repetition in the weeks before an interview.

7. rbhatia46/Data-Science-Interview-Resources

github.com/rbhatia46/Data-Science-Interview-Resources, about 3,500 stars.

A curated list of resources for data science and ML interview preparation: courses, question lists, and articles. Use it to fill gaps rather than as a primary source.

LLM and AI engineering questions

8. amitshekhariitbhu/ai-engineering-interview-questions

github.com/amitshekhariitbhu/ai-engineering-interview-questions, about 3,800 stars.

Questions and answers for AI engineering interviews, covering LLMs, retrieval augmented generation, agents, and related topics. It was updated recently when we checked.

9. llmgenai/LLMInterviewQuestions

github.com/llmgenai/LLMInterviewQuestions, about 2,000 stars.

LLM interview questions grouped by topic, such as prompting, retrieval, fine tuning, and evaluation. Useful as a checklist of what applied AI interviewers ask about.

10. KalyanKS-NLP/LLM-Interview-Questions-and-Answers-Hub

github.com/KalyanKS-NLP/LLM-Interview-Questions-and-Answers-Hub, about 1,100 stars.

A set of LLM interview questions with answers, from transformer basics to fine tuning and inference. Good for checking your explanations of how models work.

11. Devinterview-io/llms-interview-questions

github.com/Devinterview-io/llms-interview-questions, about 1,100 stars.

LLM questions and answers in a consistent format. Some content points to an external site, but the repository itself contains a useful set of questions for review.

12. ombharatiya/AI-Engineer-Interview-Questions

github.com/ombharatiya/AI-Engineer-Interview-Questions, about 300 stars.

A newer collection aimed at software engineers moving into AI engineer, LLM engineer, and applied AI roles. It is smaller than the others but focused on the questions that matter for that transition.

AI system design

13. ombharatiya/ai-system-design-guide

github.com/ombharatiya/ai-system-design-guide, about 4,500 stars.

A guide to designing production AI systems, including retrieval, evaluation, serving, and reliability concerns. Use it to practice design rounds such as "design a support assistant over company documents."

Combine it with the ML system design structure in our AI and ML engineer interview preparation guide.

A four-week study plan using these repositories

Week Focus Repositories
1 Role types and ML fundamentals ml-interviews-book, MLQuestions, MLE-Flashcards
2 Deep learning, statistics, and data science questions Data-Science-Interview-Questions-Answers, Data-Science-Interview-Resources
3 LLMs, retrieval, agents, evaluation ai-engineering-interview-questions, LLMInterviewQuestions, LLM-Interview-Questions-and-Answers-Hub
4 ML and AI system design, then review AIMLInterviews, machine-learning-interview, ai-system-design-guide

Start week 4 a little earlier if the role is senior. Design rounds usually carry more weight at that level.

Using question banks well

  • Answer before reading. Say the answer out loud or write it down, then compare.
  • Rewrite answers in your own words. Interviewers notice memorized phrasing.
  • Connect answers to your projects. "I used early stopping on a churn model because validation loss rose after a few epochs" is stronger than a definition.
  • Check dates. LLM tooling changes fast. If an answer mentions a specific library or model, verify it is still current.
  • Practice evaluation questions. "How would you know it works?" appears in almost every applied AI interview.

FAQ

Which repository should I start with?

If you are new to ML interviews, start with ml-interviews-book to understand the process. If you already know ML and are moving into LLM work, start with ai-engineering-interview-questions.

Are these enough for research roles?

They cover fundamentals well, but research interviews often dig into papers and your own research. Prepare to discuss recent work in your area in depth.

Do AI interviews still include LeetCode style coding?

Many do, especially at larger companies. Review the common coding interview patterns alongside ML topics.

Find AI roles and prepare for them

Browse AI engineering jobs, AI and ML roles, and AI industry jobs on Interviews. When an interview is booked, the prep plan builds quizzes and topics from the posting. Create a free profile to start.