A sorted array of distinct numbers was rotated at an unknown pivot; return the index of a target in logarithmic time. The first of two problems in a Flexport SDE-1 coding round.
A sorted array of distinct numbers was rotated at an unknown pivot; return the index of a target in logarithmic time. The first of two problems in a Flexport SDE-1 coding round.
Opens with the full question.