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

455 questions

  1. 121Trapping Rain WaterCoding· Amazon
  2. 122Tree traversal, BFSCoding· Amazon
  3. 123TreesCoding· Amazon, Infosys
  4. 124Two pointerCoding· Amazon
  5. 125Ugly NumberEasyCoding· Amazon
  6. 126Wildcard matchingCoding· Amazon
  7. 127Course ScheduleMediumCoding· Zoho
  8. 128Bagging vs boosting vs Random ForestData· Amazon
  9. 129BiLSTM vs TransformerMediumData· Amazon
  10. 130Dimensionality reduction methodsData· Amazon
  11. 131Handling imbalanced dataData· Amazon
  12. 132Bias-variance trade-offData· Amazon
  13. 133Company vs client interests misalignedData· Amazon
  14. 134Delivered something customers didn't know they neededHardData· Amazon
  15. 135Design and evaluate a book recommenderData· Amazon
  16. 136Design and evaluate an A/B testData· Amazon
  17. 137Missing a long-term commitment (Ownership)Data· Amazon
  18. 138Outside-the-box simplification (Invent & Simplify)Data· Amazon
  19. 139Prove logistic loss has a global minimumData· Amazon
  20. 140Technical deep-dive on an issue (Dive Deep)HardData· Amazon
  21. 141The project you're most proud ofData· Amazon
  22. 142Urgent decision with incomplete information (Bias for Action)MediumData· Amazon
  23. 143How would you address a performance decline in a program?MediumDataProduct· Amazon, Slack
  24. 144Given a list of items with different sizes, write an algorithm to pack these items into the minimum number of batches without exceeding the capacity of each batch.MediumCoding· Amazon