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
Filters · onDifficulty, topic, company

190 questions

  1. 49Richest Customer WealthEasyCoding· Google
  2. 50Smallest Missing Integer Greater Than Sequential Prefix SumEasyCoding· Walmart
  3. 51Sort Array By ParityEasyCoding· Meta
  4. 52Sort Even and Odd Indices IndependentlyEasyCoding· Meta
  5. 53The Number of Users That Are Eligible for DiscountEasyCoding· InfoEdge India Ltd
  6. 54Ugly NumberEasyCoding· Amazon
  7. 55Write a function to check whether a string contains a substring.EasyCoding· Nvidia
  8. 56Describe an endpoint and provide two examples.EasyTechnical· LinkedIn
  9. 57What's your favorite non-tech product that you use frequently?EasyProduct· Apple
  10. 58What is your favorite physical product?Easy· Tesla
  11. 59Find the DuplicatesEasyCoding· Adobe, Apple
  12. 60Implement a k-nearest neighbors algorithm.EasyCodingAI ML· Amazon, Pinterest
  13. 61L1 vs L2 regularizationEasyAI ML
  14. 62Overfitting: detection and preventionEasyAI ML
  15. 63Precision vs recall vs F1 vs AUCEasyAI ML
  16. 64The main parts of a RAG systemEasyAI ML
  17. 65Tools in agentic AI and how agents pick themEasyAI ML
  18. 66What are embeddings, beyond similarity search?EasyAI ML
  19. 67What is an AI agent vs a prompt vs a chain?EasyAI ML
  20. 68Maximum ProfitEasyCoding· Google
  21. 69Most Common WordsEasyCoding· Amazon
  22. 70Move all zeros to the end of an array.EasyCoding· Adobe, Amazon
  23. 71Sort a binary array in linear time.EasyCoding· Accenture, Apple
  24. 72You're trying to take a photograph of two teams arranged in rows. How would you order them so shorter players are in front and taller players are behind?EasyCodingTechnical· Anduril