FinaTel interview question

Binary search in Java and remove duplicate in string