This commit is contained in:
2023-01-31 12:08:00 +08:00
parent 0efe4e243c
commit 63f60259ee
3 changed files with 44 additions and 0 deletions

View File

@@ -159,3 +159,5 @@ vector<vector<int>> iter(Node *root) {
return result;
}
```
如果需要找某一层的什么节点的话,考虑用这个版本的层序遍历。