Dell Technologies Interview Question

Two sum and binary search