One Stop 4 Coders
Thursday, December 12, 2013
[Amazon] Find an element in array whose element differ by 1
Given an array in which two elements differ by +1 or -1. Find an element k in such an array in less than linear time.
1 comment:
Priyanka Singh
December 12, 2013 at 3:28 AM
http://ideone.com/LOu3EO
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
http://ideone.com/LOu3EO
ReplyDelete