平衡二叉树(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
相关文章
相关标签/搜索