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

7 questions

  1. 1Binary Tree Maximum Path SumHardCoding· Qualcomm, DoorDash
  2. 2Check if One String Swap Can Make Strings EqualCoding· DoorDash
  3. 3Find the Largest Submatrix with all 1sCoding· DoorDash
  4. 4Maximum Path Sum in a Binary TreeCoding· DoorDash
  5. 5Reverse Nodes in K GroupCoding· DoorDash
  6. 6Find the closest number in a sorted array.MediumCoding· DoorDash
  7. 7Given an array of task durations (in minutes), return the pairs of tasks that can be completed within 60 minutes. For example, for [1, 43, 20, 59, 30, 30], return [[0, 3], [4, 5]].MediumCoding· DoorDash