Google interview question

.