mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-07 07:35:35 +08:00
Update
This commit is contained in:
@ -75,7 +75,7 @@ void traversal(TreeNode* cur, vector<int>& vec) {
|
||||
traversal(cur->right, vec); // 右
|
||||
}
|
||||
```
|
||||
中序遍历(中左右)
|
||||
前序遍历(中左右)
|
||||
```
|
||||
void traversal(TreeNode* cur, vector<int>& vec) {
|
||||
if (cur == NULL) return;
|
||||
|
Reference in New Issue
Block a user