目录

力扣797. 所有可能的路径

力扣797. All Paths From Source to Target(所有可能的路径)

返回从 0 到 n-1 的所有路径。

示例 1:

../posts/01_学习/87_LeetCode/0797_所有可能的路径/img/0797-1-description.png

输入:graph = [[1,2],[3],[3],[]]
输出:[[0,1,3],[0,2,3]]
解释:...

提示: