Stryker interview question

Two sum problems questions leetcode