Pregunta de entrevista de TikTok

4 programming problems including dfs and dp