Google interview question

Coding interview, and and and