Coding Challenge · BEGINNER
A coffee shop wants to maximize customer satisfaction by ensuring that the average waiting time for orders is minimized. Given an array where each element represents the time taken to prepare an order, the shop can process up to k orders simultaneously. Your task is to find the minimum average waiting time for any cont…