NVIDIA interview question

Binary Search and Bit Operations.