fix several bugs

This commit is contained in:
krahets
2023-10-17 23:45:31 +08:00
parent 51405c0669
commit 5392afd44b
14 changed files with 15 additions and 15 deletions
@@ -15,7 +15,7 @@ void printFunc(vector *v, void *p) {
}
/* 前序遍历:例题一 */
static void preOrder(TreeNode *root) {
void preOrder(TreeNode *root) {
if (root == NULL) {
return;
}