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 10Medium 67Hard 3
Filters · onDifficulty, topic, company

80 questions

  1. 25How is object-oriented programming (OOP) different from procedural programming?MediumTechnical· Visa
  2. 26As a PM for Instacart, what potential issues do you foresee after a customer places an order?MediumDataTechnical· DoorDash
  3. 27Session Data Analysis.HardCodingTechnical· Amazon
  4. 28How would you train a model on a large dataset with few labels?HardTechnical· Amazon
  5. 29What are the different types of machine learning?MediumTechnicalAI ML· Google
  6. 30What is overfitting or underfitting? Which models are most likely to experience this, and why?MediumTechnicalAI ML· Nvidia, OpenAI
  7. 31What is caching and why is it needed?MediumTechnical· Amazon
  8. 32You'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
  9. 33For a dataset with a million data points, would you use a DNN or KNN? Why?MediumTechnical· Pinterest
  10. 34What are common linear regression problems?MediumDataTechnical· Amazon
  11. 35Given n employees and an expansion rate r, find the number of employees after t years.EasyTechnical· Salesforce
  12. 36Why is a deep neural network better than a shallow neural network?MediumTechnicalAI ML· Google, Nvidia
  13. 37Explain the key differences between BETWEEN and HAVING clauses in SQL.MediumTechnicalData· Deloitte
  14. 38What is the difference between inheritance and composition?MediumTechnical· Canva, Walmart Labs
  15. 39What is the difference between NoSQL and SQL?MediumTechnicalData· Amazon, Apple
  16. 40Explain the differences between linear and logistic regression.MediumTechnicalAI ML· Amazon, Google
  17. 41Explain the differences between nonconvex and convex functions.MediumTechnical· Pinterest
  18. 42Explain the differences between ReLU and Sigmoid.MediumTechnical· Pinterest
  19. 43What are some effective loss functions for computer vision models?MediumTechnical· Amazon
  20. 44What methods or metrics did you use to evaluate how well your LLM performs?MediumAI MLTechnical· Snap
  21. 45Explain what a blockchain is as if to a five-year-old.EasyBehavioralTechnical· Microsoft
  22. 46Explain callback functions.MediumCodingTechnical· Nvidia
  23. 47How would you explain computer vision to your grandmother?EasyTechnical· Google
  24. 48What is encapsulation?MediumCodingTechnical· Accenture