Pergunta de entrevista da empresa TikTok

dfs questions with backtracking method