Machine-Learning-Interviews

alirezadir/Machine-Learning-Interviews

Repository for preparing AI/ML technical interviews

8.5k
Stars
1.5k
Forks
12
Open issues
94
Watchers
Jupyter Notebook MITLast pushed Jun 20, 2026

Overview

A guide compiled from personal experience to help prepare for Machine Learning Engineering interviews with chapters on general coding, ML coding, fundamentals, system design (including GenAI and LLMs), behavioral aspects, and more.

Categories

Tags

Similar tools

Install

git clone https://github.com/alirezadir/Machine-Learning-Interviews

README

AI / Machine Learning Interviews :robot:

News

:newspaper: I now offer 1:1 AI/ML interview coaching for AI/ML Engineers, Applied AI Engineers & Scientists, Research Engineers, Research Scientists, AI Strategists, Engineering Managers, and senior AI leaders.

Topics include ML/AI system design, LLMs & Agentic AI, technical interviews, behavioral interviews, and leadership interviews.

Learn more: https://aimlinterviews.io


:newspaper: News: Updated for 2026: Chapters 3 and 4 now cover the latest GenAI / LLM interview topics — foundation models & LLM internals (KV cache, GQA, RoPE, MoE), post-training algorithms (SFT, DPO, GRPO, RLVR, …), PEFT & inference optimization, multimodal AI (VLMs, VLAs, diffusion vs autoregressive), and GenAI system design (RAG, agents, guardrails, eval). For deeper agentic content, see the dedicated Agentic AI Systems repo, with resources, system design summaries, and hands-on coding examples and projects.


This repo aims to serve as a guide to prepare for Machine Learning (AI) Engineering interviews for relevant roles at big tech companies (in particular FAANG). It has compiled based on the author's personal experience and notes from his own interview preparation, when he received offers from Meta (ML Specialist), Google (ML Engineer), Amazon (Applied Scientist), Apple (Applied Scientist), and Roku (ML Engineer).

The following components are the most commonly used interview modules for technical ML roles at different companies. We will go through them one by one and share how one can prepare:

ChapterContent
Chapter 1General Coding (Algos and Data Structures)
Chapter 2ML Coding
Chapter 3ML Fundamentals/Breadth (Updated for 2026: LLMs, multimodal AI)
Chapter 4ML System Design (Updated for 2026: GenAI/LLM system design)
Chapter 5Agentic AI Systems (2026)
Chapter 6Behavioral

Notes:

  • At the time I'm putting these notes together, machine learning interviews at different companies do not follow a unique structure unlike software engineering interviews. However, I found some of the components very similar to each other, although under different naming.

  • The guide here is mostly focused on Machine Learning Engineer (and Applied Scientist) roles at big companies. Although relevant roles such as "Data Science" or "ML research scientist" have different structures in interviews, some of the modules reviewed here can be still useful.

  • As a supplementary resource, you can also refer to my Production Level Deep Learning repo for further insights on how to design deep learning systems for production.

Contribution

  • Feedback and contribution are very welcome :blush: If you'd like to contribute, please make a pull request with your suggested changes).