employer cover photo
employer logo
employer logo

Belzabar Software Design

Questa è la tua azienda?

Domanda di colloquio di Belzabar Software Design

Find an element from a rotated sorted array.

Risposte di colloquio

Anonimo

1 lug 2012

It's a variation of binary search

Anonimo

19 lug 2012

try to imagin the graph . . . .if the previous array was in increasing order then after rotation the two sub aarays will also be in increasing order except one sudden fall . . O(log n/2)