[CareerCup] 8.2 Call Center 电话中心

简介:

8.2 Imagine you have a call center with three levels of employees: respondent, manager, and director. An incoming telephone call must be first allocated to a respondent who is free. If the respondent can't handle the call, he or she must escalate the call to a manager. If the manager is not free or not able to handle it, then the call should be escalated to a director. Design the classes and data structures for this problem. Implement a method dispatchCall() which assigns a call to the first available employee.

本文转自博客园Grandyang的博客,原文链接:电话中心[CareerCup] 8.2 Call Center ,如需转载请自行联系原博主。

相关文章
|
21天前
|
安全 数据中心
【技术分享】Data Center
【技术分享】Data Center
132 3
|
机器学习/深度学习 人工智能 算法
每日一题冲刺大厂第十六天提高组 codeforces 783 div1 Half Queen
大家好,我是泡泡,给大家带来每日一题的目的是为了更好的练习算法,我们的每日一题提高组是为了有余力的同学准备的,让大家练到各种各样的题目,一年以后,蜕变成为一个不一样的自己!
93 0
每日一题冲刺大厂第十六天提高组 codeforces 783 div1 Half Queen
好客租房112-tab.item页面重
好客租房112-tab.item页面重构
77 0
好客租房112-tab.item页面重
|
存储 安全 NoSQL
[PWN][进阶篇]Rop-Ret2Text介绍及实例教学
[PWN][进阶篇]Rop-Ret2Text介绍及实例教学
588 0
[PWN][进阶篇]Rop-Ret2Text介绍及实例教学
|
存储 小程序 机器人
[爱偷懒的程序员系列]-Section 3. 链接钉钉审批流
在上文我们已经有了发起改变的觉悟和具体的改造方案了,这次我们就开始决定撸起袖子加油干了。
374 0
[爱偷懒的程序员系列]-Section 3. 链接钉钉审批流
|
数据安全/隐私保护 网络架构 Ubuntu
使用Orange Pi Zero做小小服务器(配置篇)
1.ssh连接 将Orange Pi Zero插入网线至局域网环境内, 通过路由器的管理页面查看Orange Pi Zero 的 ip, 打开putty 输入ip 连接 20170312155355.
2192 1
|
.NET
艾伟:Tip:自定义UpdatePanelTrigger
  大家在使用UpdatePanel的时候有没有遇到过这种情况呢?   页面上放置着3到4的UpdatePanel,它们互相独立,并且UpdateMode都是Condition,这意味着没有哪个UpdatePanel每次都会更新。
920 0
零元学Expression Blend 4 - Chapter 18 用实例了解互动控制项「CheckBox」II
原文:零元学Expression Blend 4 - Chapter 18 用实例了解互动控制项「CheckBox」II 延续上一章的CheckBox教学,本章将以实作继续延伸更灵活的运用CheckBox。
1169 0
零元学Expression Blend 4 - Chapter 17 用实例了解互动控制项「CheckBox」I
原文:零元学Expression Blend 4 - Chapter 17 用实例了解互动控制项「CheckBox」I 本章将教大家如何运用CheckBox做实作上的变化;教你如何把CheckBox...
1175 0