Question d’entretien chez TikTok

can you solve the algorithm problem