Compunnel interview question

Two Sum Problem Leetcode easy