Apple Interview Question

Two sum - easy leetcode question