Tableau Software interview question

Two Sum Easy Leetcode Question