CDK Global Interview Question

Implement the Binary Search Algo