Question bank

4,310 interview questions, answered.

Reference answers, what the interviewer is really testing, how it is graded, and the follow-ups that come next.

Easy 190Medium 2,498Hard 982
FiltersDifficulty, topic, company

4,310 questions

  1. 1249If you have 2 clients requesting very different features for the same product, how would you prioritize them?MediumBehavioral· Apple
  2. 1250How do you coach and develop your engineering team?MediumBehavioral· Apple, Cointracker
  3. 1251Debug a transformer with 4 failing tests, then train a classifier (OpenAI)HardCodingSystem design· OpenAI
  4. 1252Debug an actual LLM inference step in a 20–30 line Colab skeleton (Anthropic)HardCodingSystem design· Anthropic
  5. 1253Design a centralized ML training and management platformHardCodingSystem design· MEMeta engineer mock
  6. 1254Design a distributed training pipeline for an LLM with fault toleranceHardCodingSystem design· Anthropic
  7. 1255Design a fine-tuning platform (instruction / PEFT / RLHF)HardCodingSystem design· OpenAI
  8. 1256Design a RAG system with evaluationHardCodingSystem design· OpenAI
  9. 1257Design a system for safe deployment of AI models in productionHardCodingSystem design· Anthropic
  10. 1258Design an AI gateway/proxy for org-wide LLM accessHardCodingSystem design· APAI Platform / MLOps roles
  11. 1259Design an LLM evaluation platformHardCodingSystem design· EEEval Engineer / MLE roles
  12. 1260Design an on-device AI assistantHardCodingSystem design· AGApple, Google
  13. 1261Design ChatGPT to handle 100 million usersHardCodingSystem design· OpenAI
  14. 1262Design memory for a personal AI assistantHardCodingSystem design· OpenAI
  15. 1263Generate outputs for images and pipelines (Anthropic)MediumCodingSystem design· Anthropic
  16. 1264Implement multi-head self-attention correctlyHardCodingSystem design· Apple
  17. 1265Optimize a Python-simulated TPU kernel to beat 1487 cycles (Anthropic performance take-home)HardCodingSystem design· Anthropic
  18. 1266Given a castle with rooms named after flowers where each room has an instruction to the next room, write an algorithm to find the rooms containing treasure.MediumCoding· PayPal
  19. 1267Given a collection of rooms where Alibada is in one and moves one room a day to an adjacent room, write a program to determine if you can find Alibada with the given list of rooms.MediumCoding· Meta
  20. 1268Given an integer n, return the number of steps to reach 1 following these rules: if n is even, divide by 2; if odd, multiply by 3 and add 1.MediumCoding· Bloomberg
  21. 1269Given an array of integers and an integer k, find the kth largest element in the array.MediumCoding· Meta, Microsoft
  22. 1270Given two empty jugs with capacities a and b liters and an infinite water supply, determine a way to end up with exactly X liters of water.MediumCoding· Microsoft
  23. 1271You're the PM of the Coinbase consumer app. Describe your process for adding new tokens.HardDataProduct· Coinbase
  24. 1272How would you collect data from customers of Samsung.com?MediumData· Samsung