PharmEasy Interview Question

two sum problem without duplicates