Google interview question

Nothing difficult