Devender Mishra
Place for the people like us...
Sep 12, 2010
logn Search in rotated sorted array
Lets have a sorted array like 1 2 3 4 5 6 7 8 9. Lets rotate it arbitrary number of times. It is like 5 6 7 8 9 1 2 3 4.
Now, can element still be searched in O(lgn) time?
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Know Devender Mishra
Devender Mishra
Final year B.Tech student of Computer Science and Engineering at Indian School of Mines. Computer Science and Engineering has only curse
Mines
here.
View my complete profile
Search This Blog
Followers
Subscribe To
Posts
Atom
Posts
Comments
Atom
Comments
Blog Archive
►
2011
(3)
►
February
(3)
▼
2010
(17)
►
October
(3)
▼
September
(2)
Technical Interview
logn Search in rotated sorted array
►
May
(1)
►
April
(1)
►
March
(10)
No comments:
Post a Comment