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 2Medium 8Hard 0
Filters · onDifficulty, topic, company

18 questions

  1. 1Distinct subsequencesCoding· Amazon, Microsoft
  2. 2Minimum Swaps to Group All 1’s TogetherCoding· Swiggy
  3. 3ArrayCoding· J.P. Morgan, Microsoft
  4. 4Best Time to Buy and Sell StockCoding· PayPal, Swiggy
  5. 5Count Good MealsMediumCoding· Swiggy
  6. 6GraphCoding· Google, Infosys
  7. 7MatrixCoding· Goldman Sachs, Swiggy
  8. 8Missing NumberEasyCoding· Swiggy, Zomato
  9. 9Nested SegmentsCoding· Swiggy
  10. 10Remove All Adjacent Duplicates In StringEasyCoding· Swiggy
  11. 11Sliding WindowCoding· Deliveroo, Flipkart
  12. 12As an Admin, what key metrics would you consider crucial for evaluating Uber's success in a newly launched city?MediumTechnical· Swiggy
  13. 13Design an app for an amusement park.MediumProduct· Google, Swiggy
  14. 14How would you increase Swiggy's revenue?MediumProduct· Mixpanel, Swiggy
  15. 15As a PM at Uber, what key metrics would you track to measure its success in a new city?Medium· Swiggy
  16. 16As the CEO of WhatsApp, what are the top 5 metrics you should focus on to measure the app's success?MediumData· Swiggy
  17. 17How would you increase the average order value of a food delivery platform?MediumDataProduct· Swiggy
  18. 18You work at Swiggy (3-sided marketplace - consumer, rider, restaurant). How would you create a tool to enable restaurants to create and fund their own promotional offers (% discounts, etc.) on Swiggy?MediumProduct· Swiggy