https://leetcode.com/discuss/interview-question/1580545/google-stage-oa-calculate-total-wait-time
follow up questions:
- what if client number is far greater than agent number?
- what if there's a constraint on time[i] that 1 <= time[i] <= 10, how would you use this to your advantage?