Google interview question

similar to leetcode hard question