filmov
tv
Jim and the Orders (TreeMap) Java Coding Challenge | HackerRank | Edabit | How'd You Code That?

Показать описание
Jim and the Orders on Edabit:
Jim and the Orders on HackerRank:
Jim's Burgers has a line of hungry customers. Orders vary in the time it takes to prepare them. Our task is to determine the order the customers receive their orders. Start by numbering each of the customers from to 1 to n, front of the line to the back. You will then be given an order number and a preparation time for each customer.
The time of delivery is calculated as the sum of the order number and the preparation time. If two orders are delivered at the same time, assume they are delivered in ascending customer number order.
Song: Stardust - Fresh (Vlog No Copyright Music)
Music promoted by Vlog No Copyright Music.
Jim and the Orders on HackerRank:
Jim's Burgers has a line of hungry customers. Orders vary in the time it takes to prepare them. Our task is to determine the order the customers receive their orders. Start by numbering each of the customers from to 1 to n, front of the line to the back. You will then be given an order number and a preparation time for each customer.
The time of delivery is calculated as the sum of the order number and the preparation time. If two orders are delivered at the same time, assume they are delivered in ascending customer number order.
Song: Stardust - Fresh (Vlog No Copyright Music)
Music promoted by Vlog No Copyright Music.