CGI Interview Question

Find duplicates in binary search