平衡二叉樹的創建(AVL樹)

平衡二叉樹的創建,在二叉樹搜索中具備重要意義,因此今天來記錄一下AVL樹的創建。c++ #include <bits/stdc++.h> using namespace std; #define OK 1 #define ERROR 0 #define TRUE 1 #define FALSE 0 #define MAXSIZE 100 typedef struct BiTNode { in
相關文章
相關標籤/搜索