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

26 questions

  1. 1Check for Contradictions in EquationsCoding· Microsoft, PhonePe
  2. 2Coin PathCoding· Amazon, PhonePe
  3. 3Find Distance In a Binary TreeCoding· PhonePe
  4. 4Maximum Product Subarray in an ArrayCoding· Cisco Meraki, Microsoft
  5. 5Maximum Profit in Job SchedulingCoding· Adobe, PhonePe
  6. 6Maximum RectanglesCoding· PhonePe
  7. 7Minimize Max Distance to Gas StationCoding· AArcesium, BloomBerg
  8. 8Most Stones Removed with Same Row or ColumnMediumCoding· Myntra, Amazon
  9. 9Permutations of a StringCoding· Expedia, PhonePe
  10. 10Shortest Path to Get FoodCoding· PhonePe
  11. 11Sum of Subarray MinimumsCoding· Paytm, PhonePe
  12. 12Trapping RainwaterCoding· BloomBerg, PhonePe
  13. 13Valid Paranthesis CheckerCoding· Amazon, Fidelity
  14. 14Car FleetMediumCoding· PhonePe
  15. 15Count the Number of Infection SequencesHardCoding· PhonePe
  16. 16Determine if Two Strings Are CloseMediumCoding· PhonePe
  17. 17Gas StationMediumCoding· Amazon, Cleartrip
  18. 18Largest subtree sum for each vertex of given N-ary TreeCoding· PhonePe
  19. 19Left View of a Binary TreeCoding· PhonePe
  20. 20Maximum Total Damage With Spell CastingMediumCoding· PhonePe
  21. 21Minimum Falling Path SumCoding· PhonePe
  22. 22Minimum Genetic MutationMediumCoding· PhonePe
  23. 23Minimum number of SwapsCoding· PhonePe
  24. 24Number of Subsequences That Satisfy the Given Sum ConditionMediumCoding· PhonePe