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;
}
@@ -1,3 +1,3 @@
add_executable(binary_search_recur binary_search_recur.c)
add_executable(hanota hanota.c)
add_executable(build_tree build_tree.c)
add_executable(hanota hanota.c)
+1 -1
View File
@@ -19,7 +19,7 @@ typedef struct pair Pair;
/* 链表节点 */
struct node {
Pair *pair;
struct Node *next;
struct node *next;
};
typedef struct node Node;