Frage im Vorstellungsgespräch bei Yelp

Nothing

Antworten zu Vorstellungsgespräch

Anonym

5. März 2014

I dint do well but the answer is to find the appropriate row in which the target is(compare with first and last element of rows). Then apply binary search algo.

Anonym

31. März 2019

Another approach is to start searching from the bottom left of the matrix, and move a col to the right, or a row up based on the value.