Average Waiting Time at Instacart

Medium73.1% acceptance

This problem has 87.5% frequency at Instacart.

Problem Description

There is a restaurant with a single chef. You are given an array `customers`, where `customers[i] = [arrivali, timei]:` * `arrivali` is the arrival time of the `ith` customer. The arrival times are sorted in **non-decreasing** order. * `timei` is the time needed to prepare the order of the `ith...

Read full problem and hints

Topics

Also asked at 5 companies


More Instacart Questions

View all Instacart questions