binary search, is it the expectation?

回答: 很簡單的麵試問題布衣之才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

請您先登陸,再發跟帖!