Oracle Interview Question

Two-sum and other leetcode easy/medium