SAP interview question

The second programming question was exactly this one on leetcode (marked as hard): https://leetcode.com/problems/search-in-rotated-sorted-array/

Interview Answer

Anonymous

Aug 7, 2016

I found the right answer after quite some debugging and discussing.