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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!