Domanda di colloquio di TikTok

A backtracking question and ML knowledge