Pregunta de entrevista de Google

Most Unexpected: Programming question