免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1060 | 回复: 0
打印 上一主题 下一主题

问题请教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-09-26 11:07 |只看该作者 |正序浏览
1. Given an array of N integers, and a value K, find two numbers in the array
that sum to K?

2. You are give a building with 50 floors and 2 elevators. Describe an efficient
algorithm for scheduling elevator stops that cannot lead to cases of starvation.
What classes would you define? What more information do you require?


我没有时间,帮朋友问问,那位有精妙的解答,在此多谢了。

谢谢了。
  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP