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

2,498 questions

  1. 289Given an array of integers and an integer k, find the kth largest element in the array.MediumCoding· Meta, Microsoft
  2. 290Given two empty jugs with capacities a and b liters and an infinite water supply, determine a way to end up with exactly X liters of water.MediumCoding· Microsoft
  3. 291How would you collect data from customers of Samsung.com?MediumData· Samsung
  4. 292Print all combinations of numbers from 1 to n that sum to n.MediumCoding· Adobe, Apple
  5. 293Describe how you would communicate a significant strategic change from management to your team.MediumBehavioral· Meta
  6. 294How do you communicate technical project needs to non-technical teams?MediumBehavioralProduct· Meta, Salesforce
  7. 295How does communication between Mars and Earth work?MediumTechnical· Google
  8. 296How would you compare the effectiveness of acquiring new merchants on Facebook versus Instagram?MediumData· Shopify
  9. 297How does Google Maps compute ETA?MediumTechnical· Amazon, Funding Societies
  10. 298Tell me about a time when you dealt with a conflict with engineers.MediumAI MLBehavioral· Google, Meta
  11. 299What challenges do consumers face with online purchases, and how would you solve them?MediumProduct· Stripe
  12. 300Find the container with the maximum volume of water.MediumCoding· Apple, Goldman Sachs
  13. 301Tell me about a time when you needed to convince a disagreeing team.MediumBehavioral· Amazon, Google
  14. 302How would you convince leadership to build a wristwatch for the elderly?MediumProduct· Google
  15. 303Tell me about a time you convinced someone to change their mind.MediumBehavioral· Asana, Gladly
  16. 304Your company excels in display technology, while a dominant market player, like Qualcomm, excels in System on Chip. How would you convince this major player to purchase your product?MediumProduct· Google
  17. 305How many grains of rice are in a 10kg bag?MediumProduct· Google
  18. 306Count items within compartments between specific indices of an array.MediumCoding· Amazon
  19. 307How did COVID-19 affect Amazon?MediumData· Amazon
  20. 308Has the work-from-home model and COVID-19 impacted workforce productivity, and by how much?MediumData· GCGoogle Cloud (GCP)
  21. 309How did COVID-19 affect HelloFresh?MediumProduct· HelloFresh
  22. 310How would you create a carousel using vanilla JavaScript?MediumTechnical· Amazon
  23. 311If you had to create a dashboard for Netflix with only 3 metrics, what would they be?MediumDataProduct· Meta
  24. 312How would you approach creating a product roadmap without prior knowledge of the product?MediumProduct· Capital One