Find an element in a rotated array without finding rotation point first.
Anonymous
Logic is very similar to 1st problem. I just added few more conditions to avoid the need of getting rotation point. O(n)
Check out your Company Bowl for anonymous work chats.