Google | Phone Screen

https://leetcode.com/discuss/interview-question/1580545/google-stage-oa-calculate-total-wait-time

follow up questions:

  1. what if client number is far greater than agent number?
  2. what if there's a constraint on time[i] that 1 <= time[i] <= 10, how would you use this to your advantage?
Comments (9)