Example – call center with a single consultant

This first example represents the simple approach to the call center solution, where there are many callers (with different client identifiers), and only one consultant, who answers waiting calls in the same order in which they appear. This scenario is presented in the following diagram:

As you can see in the preceding diagram, four calls are performed by callers. They are added to the queue with waiting phone calls, namely from clients #1234, #5678, #1468, and #9641. When the consultant is available, he or she answers the phone. When the call ends, the consultant can answer the next waiting call. ...

Get C# Data Structures and Algorithms now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.