摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct Node { char ch; int freq; struct Node* left; struct Node* right; } Node; Nod 阅读全文
posted @ 2025-11-19 13:30 我不是青山 阅读(3) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct Node { int key; struct Node *left; struct Node *right; int height; } Node; i 阅读全文
posted @ 2025-11-19 13:27 我不是青山 阅读(5) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> struct Node { int key; struct Node *left; struct Node *right; }; struct Node *newNode(int k 阅读全文
posted @ 2025-11-19 13:26 我不是青山 阅读(2) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct Node { int key; struct Node* left; struct Node* right; } Node; Node* insert( 阅读全文
posted @ 2025-11-19 13:25 我不是青山 阅读(5) 评论(0) 推荐(0)