PharmEasy interview question

two sum problem without duplicates