Dell Technologies interview question

Binary search and its Time complexity