Syntrosys interview question

Binary Search and data structures