Question d’entretien chez TikTok

Strings converted into binary trees.