Amazon interview question

Time and space complexity of binary search on an array for a given context