Deloitte interview question

Binary Search Program using any either Java, Python