Google interview question

a question from leetcode that was easy level