mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-09 03:34:02 +08:00
二叉树的所有路径
This commit is contained in:
@ -352,7 +352,7 @@ class Solution:
|
||||
Go:
|
||||
|
||||
JavaScript:
|
||||
递归版本
|
||||
1.递归版本
|
||||
```javascript
|
||||
var binaryTreePaths = function(root) {
|
||||
//递归遍历+递归三部曲
|
||||
|
Reference in New Issue
Block a user