平衡二叉樹(AVL)模板

模板代碼: #include <bits/stdc++.h> using namespace std; const int maxn = 1e2+5; int data[maxn]; struct node{ int v,height; node *lchild, *rchild; }; node* newNode(int v){ node* Node = new no
相關文章
相關標籤/搜索