初步实现(不知道对不对😭

This commit is contained in:
2024-11-20 21:48:13 +08:00
parent 882c36c956
commit cca9948fea
3 changed files with 64 additions and 0 deletions
+7
View File
@@ -4,7 +4,14 @@
class BiTree {
public:
int data;
BiTree *left;
BiTree *right;
static bool is_empty(BiTree *bt);
static bool is_leaf(BiTree *bt);
static int sum_leaf(BiTree *bt);
};