Apple interview question

An easy level leetcode question