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

1,063 questions

  1. 265Binary Search Tree to Greater Sum TreeMediumCoding· Amazon
  2. 266Binary Tree CamerasHardCoding· DP World
  3. 267Binary Tree Level Order TraversalCoding· Meta
  4. 268Binary Tree Maximum Path SumHardCoding· Qualcomm, DoorDash
  5. 269Binary Tree Maximum Path SumCoding· Oracle
  6. 270Binary Tree Postorder TraversalCoding· Myntra
  7. 271Binary Tree Right Side ViewMediumCoding· Meta
  8. 272Binary Tree Shortest PathCoding· Amazon
  9. 273Bit manipulationCoding· Ciena, Infosys
  10. 274Bit Manipulation BasedCoding· Expedia, HashedIn
  11. 275Boats to Save PeopleMediumCoding· IDFC FIRST Bank, Meta
  12. 276Bottom View of a Binary TreeCoding· Microsoft
  13. 277Bottom View of Binary TreeCoding· Amazon
  14. 278Bulb SwitcherMediumCoding· Linkedin
  15. 279Bulb Switcher IIMediumCoding· ServiceNow
  16. 280Buy and Sell Stock variationCoding· Freshwoks
  17. 281Cab Booking SystemCoding· Meesho
  18. 282Car FleetMediumCoding· PhonePe
  19. 283Card Value ProblemCoding· IDFC First Bank
  20. 284Check if a Parentheses String Can Be ValidMediumCoding· Meta, ServiceNow
  21. 285Check If Array Pairs Are Divisible by kMediumCoding· Visa
  22. 286Check if Grid Satisfies ConditionsEasyCoding· Goldman Sachs
  23. 287Check if One String Swap Can Make Strings EqualCoding· DoorDash
  24. 288Cherry pickup IICoding· Google