Google interview question

Difficult competitive programming as a competition