loading...

Discussion on: Daily Challenge #126 - The Supermarket Line

Collapse
teaglebuilt profile image
dillan teagle
def queue_time(customers, n):
    tills = [0]*n
    for i in customers:
      tills[0] += i
      tills.sort()
    return max(tills)