Doordash | Phone screen
Anonymous User
2530

Given array of integers containing number of orders from each restaurant [1,6,7,12] time to complete in hours(integer) time = 8. you should find the speed in which the orders can be delivered saying that the driver waits for next hour after completing the delivery of one restaurant. output for above example is 4 sum([1/4,6/4,7/4,12/4])

Comments (6)