二叉树的所有路径

This commit is contained in:
xll
2021-05-26 21:07:11 +08:00
parent f51412e3d4
commit ebf87c93bd

View File

@ -352,7 +352,7 @@ class Solution:
Go
JavaScript:
递归版本
1.递归版本
```javascript
var binaryTreePaths = function(root) {
//递归遍历+递归三部曲