2020年6月23日

手写AVL+图解红黑树

摘要: AVL 重点基本上在两个rotate里面 #include<bits/stdc++.h> using namespace std; #define N 200005 struct Node{ int key,height; Node* lc; Node* rc; }; Node* root = NU 阅读全文

posted @ 2020-06-23 22:28 zsben 阅读(270) 评论(0) 推荐(0) 编辑

导航