binary search, is it the expectation?

来源: 胡说之 2012-12-06 12:26:31 [] [博客] [旧帖] [给我悄悄话] 本文已被阅读: 次 (0 bytes)
回答: 很简单的面试问题布衣之才2012-12-06 12:09:49

所有跟帖: 

yes, thanks. -布衣之才- 给 布衣之才 发送悄悄话 布衣之才 的博客首页 (82 bytes) () 12/06/2012 postreply 12:42:02

Shouldn't the array be sorted first before doing a binary search -ZhuZhuXia- 给 ZhuZhuXia 发送悄悄话 ZhuZhuXia 的博客首页 (0 bytes) () 12/06/2012 postreply 12:53:24

no, that was not what we wanted to test. -布衣之才- 给 布衣之才 发送悄悄话 布衣之才 的博客首页 (458 bytes) () 12/06/2012 postreply 13:11:54

回复:no, that was not what we wanted to test. -布衣之才- 给 布衣之才 发送悄悄话 布衣之才 的博客首页 (162 bytes) () 12/06/2012 postreply 21:23:22

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭/移除任何Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock/Adblock plus

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”