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 6Medium 24Hard 33
Filters · onDifficulty, topic, company

6 questions

  1. 1LRU cache implementation (OpenAI onsite)EasyCodingSystem design· OpenAI
  2. 2Implement k-means from scratchEasyCodingSystem design
  3. 3Implement logistic regression from scratchEasyCodingSystem design
  4. 4Build a prompt template system with variable substitutionEasyCodingSystem design
  5. 5Implement retry with exponential backoff for LLM API callsEasyCodingSystem design
  6. 6Implement token counting and context window managementEasyCodingSystem design