Spotify interview question

What's the best searching algorithm for a sorted array and what's the time complexity?

Interview Answer

Anonymous

23 Sept 2017

Binary Search with complexity at O(log n) for a sorted array.

4