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 5Medium 32Hard 5
Filters · onDifficulty, topic, company

44 questions

  1. 1Diameter of Binary TreeEasyCoding· Nvidia
  2. 2Find missing numberCoding· Nvidia
  3. 3Koko eating bananas.MediumCoding· Flipkart, Amazon
  4. 4Merge IntervalsMediumCoding· Blinkit, Docquity Holdings(PBS)
  5. 5Next PermutationMediumCoding· Nvidia
  6. 6Sort an array of 0's 1's and 2'sCoding· Microsoft, Nvidia
  7. 7Build a Basic Regex ParserHardCoding· Adobe, Apple
  8. 8Write a function to check whether a string contains a substring.EasyCoding· Nvidia
  9. 9Tell me about a time when you dealt with a conflict with engineers.MediumAI MLBehavioral· Google, Meta
  10. 10Explain Deep Learning to a non-technical audience.MediumTechnical· Google, LendingClub
  11. 11What are your current KPIs? How do you ensure you meet them?MediumBehavioralProduct· Nvidia, The Support Network
  12. 12How do you measure whether an LLM or RAG project you worked on is efficient?MediumDataAI ML· Nvidia
  13. 13Implement LRU Cache.HardCoding· Accenture, Adobe
  14. 14Tell me about a time when you received negative feedback and how you handled it.MediumBehavioral· Amazon, American Express
  15. 15Write functions to serialize and deserialize a list of strings.MediumCoding· Google, Nvidia
  16. 16How do you set priorities with limited resources?MediumBehavioralProduct· DoorDash, Nvidia
  17. 17Given an integer array nums and an integer k, return true if nums has a subarray of at least two elements whose sum is a multiple of k.HardCoding· Adobe, Apple
  18. 18Sudoku SolverHardCoding· Adobe, Apple
  19. 19Tell me about yourself.MediumBehavioral· Accenture, ADP
  20. 20What is overfitting or underfitting? Which models are most likely to experience this, and why?MediumTechnicalAI ML· Nvidia, OpenAI
  21. 21Why do you like ChatGPT? Who are its users, what metrics would you use to track its success, and how would you improve it?MediumDataBehavioral· Nvidia, OpenAI
  22. 22Tell me about a time you had a conflict with someone. How did you resolve it and what did you learn?MediumBehavioral· Amazon, Anthropic
  23. 23Tell me about a time when you faced a conflict while on a team.MediumBehavioral· Amazon, Anthropic
  24. 24Tell me about a system you are currently working on.MediumBehavioral· Amazon, Nvidia