Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

AI Engineer Interview Questions

The complete prep resource for AI Engineer, LLM Engineer, and Applied AI interviews.
1,067 questions with worked answers, 10 system design case studies, 19 runnable coding challenges, company interview questions for 33 companies, and guides for 10 engineering roles.

GitHub stars GitHub forks License Last Commit PRs Welcome

Company interview questions:
Anthropic · OpenAI · Google DeepMind · Meta · xAI · Mistral · DeepSeek · Moonshot AI · Zhipu AI · Sarvam AI · Microsoft · Amazon · Apple · NVIDIA · Qwen (Alibaba) · Databricks · Scale AI · Perplexity · Cursor · Cohere · Hugging Face · Together AI · Glean · Palantir · Sierra · Harvey · Abridge · Cognition · Groq · ElevenLabs · Character.AI · Waymo · Figure AI


🎯 Start here: The AI Engineer 75

The AI Engineer 75 is this repo's Blind 75: the 75 highest-signal items across everything here, in checkbox form.

WhatHow manyBar to clear
Must-know questions64Answer out loud, cold, before opening the answer
System design mocks445-60 minutes each on a doc before reading the solution
From-scratch coding challenges7Working implementation before peeking at the reference

If you can clear all 75, you are ready for most AI engineering loops. If you can't, the gaps tell you exactly which topic to study. Everything else in this repo is the depth behind this list.

How much prep do you actually need?

Your runwayDo thisVolume
DaysThe AI Engineer 75, then CHEATSHEET.md the night before75 items + one evening review
1 weekThe 75 + the 1-week cram plan75 items + 6 crash courses
2-4 weeksThe 4-week plan: all 13 crash courses, full question banks on your weak topics, 3 design mocks200+ questions + 3 case studies + all 19 challenges
1-2 months+The 8-week plan: all 541 topic questions, all 10 case studies, all 19 challenges, plus a portfolio projectEverything, plus building
Targeting a companyAdd that company's interview questions from the banner above+10-12 tailored questions and the loop map
Not an "AI Engineer" titleStart from your role guide insteadRole-calibrated study map

Essential shortcuts: The AI Engineer 75 · Glossary · Mock interview kit · Night-before cheat sheet · Study plans · Curated papers and courses · aidaddy.tech, the companion site for AI system design and interview prep


Company interview questions

Interview questions, loop maps, and prep priorities for 33 companies, tiered from frontier labs to applied AI shops and spanning the US, Europe, China, and India, including inference-silicon, vertical AI, autonomy and robotics. Everything is built from public information (job postings, engineering blogs, technical reports, published interview reports), not leaked material, and each page has a "last reviewed" note and sources.

CompanyTier
AnthropicFrontier lab
OpenAIFrontier lab
Google DeepMindFrontier lab
MetaFrontier lab
xAIFrontier lab
Mistral AIFrontier lab (Europe)
DeepSeekFrontier lab (China)
Moonshot AIFrontier lab (China)
Zhipu AIFrontier lab (China)
Sarvam AIFrontier lab (India)
MicrosoftBig tech
AmazonBig tech
AppleBig tech
NVIDIABig tech
Qwen (Alibaba)Big tech (China)
DatabricksAI-native & infra
Scale AIAI-native & infra
PerplexityAI-native & infra
Cursor (Anysphere)AI-native & infra
CohereAI-native & infra
Hugging FaceAI-native & infra
Together AIAI-native & infra
GleanAI-native & infra
PalantirApplied / forward-deployed
SierraApplied / forward-deployed
HarveyApplied / vertical AI (legal)
AbridgeApplied / vertical AI (health)
WaymoApplied / autonomy
Figure AIApplied / robotics
Cognition (Devin, Windsurf)AI-native & infra
GroqAI-native & infra
ElevenLabsAI-native & infra
Character.AIAI-native & infra

Role guides

AI questions now show up in backend, frontend, product, data, DevOps, QA, mobile, and security loops, and the depth expected varies a lot by role. Each guide maps how that role's interviews changed, what you are actually expected to know (and what you are not), and 12-14 role-specific questions.

RoleGuide
Backend EngineerGuide
Frontend EngineerGuide
Product / Full-stack EngineerGuide
Forward Deployed EngineerGuide
Data EngineerGuide
DevOps / Platform / MLOps EngineerGuide
QA / SDET EngineerGuide
Mobile EngineerGuide
Security EngineerGuide
"Am I an ML Engineer or AI Engineer?"Guide

Topics

Each topic has a crash-course primer (README.md) and a full question bank with worked, collapsible answers (questions.md). Work with the answer collapsed until you have tried it yourself.

#TopicQuestionsWhat it covers
01ML & Deep Learning Foundations50Bias-variance, optimization, regularization, metrics, loss functions, the fundamentals a fine-tuning or evals answer is built on
02LLM & Transformer Fundamentals60Attention, positional encodings, tokenization, scaling laws, MoE, decoding, KV cache, reasoning models
03Prompt Engineering & Context Engineering45Few-shot design, chain-of-thought, structured outputs, prompt caching, context rot and compaction
04RAG & Retrieval55Chunking, embeddings, hybrid search, reranking, agentic RAG, retrieval evaluation
05Fine-tuning, RLHF & Alignment51SFT, LoRA/QLoRA, DPO/PPO/GRPO, distillation, GPU memory maths for training
06Agents, Tool Use & MCP60Tool calling, MCP, planning patterns, multi-agent design, agent evaluation and security
07Evals & Observability50LLM-as-judge, benchmark limits, RAG and agent evals, tracing, regression testing
08Inference, Serving & Production LLM Systems51Prefill vs. decode, KV cache paging, quantization, speculative decoding, cost engineering
09Safety, Security & Responsible AI47Prompt injection, OWASP LLM Top 10, guardrails, agent security, data governance
10Multimodal Models35Vision-language architecture, diffusion, ASR/TTS, voice agents, multimodal RAG
11AI System Design10 case studiesA reusable answer framework plus eight worked case studies
12Coding Challenges19 challengesImplement attention, BPE, sampling, KV cache, an agent loop, and more, from scratch
13Interview Process & Behavioral37Loop anatomy by company type, take-homes, portfolio projects, AI-specific behavioural questions

System design case studies

Full worked examples in 11-ai-system-design/case-studies, each following the same template: requirements, architecture, evaluation plan, cost estimate, failure modes, and likely follow-ups.

#Case study
1Enterprise RAG Assistant
2AI Code Assistant
3Customer Support Agent
4Semantic Search at Scale
5Content Moderation Pipeline
6Document Intelligence Pipeline
7Text-to-SQL Agent
8Meeting Assistant
9Real-time Voice Agent
10LLM Gateway and Serving Platform

Coding challenges

Nineteen self-contained Python files in 12-coding-challenges, numpy and the standard library only, each with a reference solution and a real test suite. Read only the problem statement, implement it yourself, then run the file directly, for example python3 12-coding-challenges/01_attention.py.

#ChallengeDifficultyConcepts
01AttentionMediumScaled dot-product attention, multi-head, causal masking
02BPE TokenizerMediumByte-level BPE: train, encode, decode
03Sampling StrategiesEasyTemperature, top-k, top-p, min-p, repetition penalty
04Positional EncodingsMediumSinusoidal PE, RoPE
05LayerNorm & SoftmaxEasyStable softmax/log-softmax, LayerNorm, RMSNorm
06KV CacheMediumAutoregressive decode loop with vs. without KV cache
07Mini-GPT Forward PassHardFull GPT block forward pass: embeddings, attention, MLP, logits
08Semantic Search / RAGMediumEmbed, index, cosine retrieval, context assembly
09Text ChunkingEasyFixed, sliding-window, recursive, sentence chunkers
10Agent LoopMediumTool-calling agent loop with a mock LLM
11Rate Limiter & RetryMediumToken bucket, exponential backoff with jitter
12Eval MetricsMediumpass@k unbiased estimator, QA F1/EM, judge harness skeleton
13Streaming ParserHardSSE parser, incremental tool-call argument assembly
14LoRA AdapterMediumLoRA forward, merge, batched multi-adapter serving
15Beam SearchMediumBeam search with length normalisation
16Semantic CacheMediumExact and semantic tiers, TTL, LRU, tag invalidation
17Hybrid Search & RerankMediumBM25, reciprocal rank fusion, MMR
18Constrained JSON DecodingHardSchema-masked token decoding
19Speculative DecodingHardDraft-and-verify rejection sampling

Contributing

Corrections, new questions, and new case studies are welcome. See CONTRIBUTING.md for the format.


⭐ Found this useful? Star it so you can find it again.

New questions, company coverage, and study material land here regularly. Watching the repo is the easiest way to catch every update.

Watch Repo   Star Repo

Follow @ombharatiya for interview tips and updates, and see aidaddy.tech for the companion AI system design and interview prep site:

GitHub Twitter LinkedIn

License

MIT.

关于 About

Interview questions and prep for AI Engineer, LLM Engineer, and Applied AI roles. Built for software engineers breaking into AI and ML practitioners levelling up: company-specific question sets, role-based study maps, worked answers, and from-scratch coding challenges.
ai-agentsai-engineerai-engineeringai-interviewanthropiccoding-interviewfaang-interviewgenerative-aigoogleinterview-prepinterview-preparationinterview-questionslarge-language-modelsllmllm-interviewmachine-learning-interviewml-interviewprompt-engineeringragsystem-design

语言 Languages

Python100.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
36
Total Commits
峰值: 28次/周
Less
More

核心贡献者 Contributors