This topic created in 961 days ago, the information mentioned may be changed or developed.
3 replies • 2023-10-24 18:23:11 +08:00
 |
|
1
thevita Oct 24, 2023
你看,标记的其实是同一个函数,并且是从 [1] 开始递增的,所以结论只有一个
这标记的是这个方法递归的深度
|
 |
|
2
chippai Oct 24, 2023
递归的次数,可以写个数组全排列或二分迭代法看看,像全排列、八皇后回溯的话这个值还会减
|