由买买提看人间百态

topics

全部话题 - 话题: guarnatted
(共0页)
r*****b
发帖数: 310
1
来自主题: JobHunting版 - 问一道careercup150上的题
It is not guarnatted that all A[i][j] >= A[i-1][j]
For instance,
28, 29, 31, 36
33, 38, 39, 48
33, 44, 51, 56
41, 44, 52, 59
If you try to search 38, the binary search may not give the right answer.
Here is a post on this:
http://basicalgos.blogspot.com/2012/03/14-find-element-in-sorte

掉了
c***g
发帖数: 472
2
来自主题: JobHunting版 - 问一道careercup150上的题
It is not guarnatted that all A[i][j] >= A[i-1][j]
没看明白,不是sorted么?
r*****b
发帖数: 310
3
来自主题: JobHunting版 - 问一道careercup150上的题
It is not guarnatted that all A[i][j] >= A[i-1][j]
For instance,
28, 29, 31, 36
33, 38, 39, 48
33, 44, 51, 56
41, 44, 52, 59
If you try to search 38, the binary search may not give the right answer.
Here is a post on this:
http://basicalgos.blogspot.com/2012/03/14-find-element-in-sorte

掉了
c***g
发帖数: 472
4
来自主题: JobHunting版 - 问一道careercup150上的题
It is not guarnatted that all A[i][j] >= A[i-1][j]
没看明白,不是sorted么?
(共0页)