摘要: 1017. Queueing at Bank (25)Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting are... 阅读全文
posted @ 2015-08-22 22:36 JackWang822 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 1014. Waiting in Line (30)Suppose a bank has N windows open for service. There is a yellow line in front of the windows which devides the waiting area... 阅读全文
posted @ 2015-08-22 21:19 JackWang822 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 1053. Path of Equal Weight (30)Given a non-empty tree with root R, and with weight Wiassigned to each tree node Ti. Theweight of a path from R to Lis ... 阅读全文
posted @ 2015-08-22 17:34 JackWang822 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 1064. Complete Binary Search Tree (30)A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left s... 阅读全文
posted @ 2015-08-22 11:53 JackWang822 阅读(666) 评论(0) 推荐(0) 编辑
摘要: 1087. All Roads Lead to Rome (30)Indeed there are many different tourist routes from our city to Rome. You are supposed to find your clients the route... 阅读全文
posted @ 2015-08-22 11:19 JackWang822 阅读(129) 评论(0) 推荐(0) 编辑