Pergunta de entrevista da empresa Google

Difficult competitive programming as a competition