Fellowes Brands interview question

Two Sum Problem from Leetcode