Domanda di colloquio di Tencent

Algorithm question question (I almost forgot it)