Question: Using python. You need to write a function that manages a customer waiting list. As the customer enters the store, she adds her name to
Using python.
You need to write a function that manages a customer waiting list. As the customer enters the store, she adds her name to the waiting list. When an employee becomes available, the employee identifies the customer who has been waiting the longest and then removes that customer's name from the list, and helps the customer. Which builtin Python data structure is most appropriate? Which methods would you use?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
