Jaggaer Interview Question

Two Sum (Leetcode1) they asked