O'Reilly logo

C# Data Structures and Algorithms by Marcin Jamro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required