Update README.md

This commit is contained in:
Yudong Jin
2023-01-30 20:49:12 +08:00
parent 9973822672
commit 7f3752d306
5 changed files with 13 additions and 20 deletions

View File

@@ -11,7 +11,6 @@ int *arr;
/* 前序遍历 */
void preOrder(TreeNode *root, int *size) {
if (root == NULL) return;
// 访问优先级:根结点 -> 左子树 -> 右子树
arr[(*size)++] = root->val;