Google interview question

puzzles