红黑树(Red Black Tree)
摘要:
class RBTree{ struct node{ int key, value; node *lson, *rson; node *p; bool color; }; node *root; node *null; void Left_Rotate(node *x) { node *t = x->rson; x->rson = t->lson; ... 阅读全文
posted @ 2017-06-26 16:37 gjing 阅读(111) 评论(0) 推荐(0)
浙公网安备 33010602011771号