Loading docs/ds/llrbt.md +1 −5 Original line number Diff line number Diff line Loading @@ -74,7 +74,6 @@ root->size = size(root->lc) + size(root->rc) + 1; return root; } ``` template<class Key, class Compare> typename Set<Key, Compare>::Node_Set<Key, Compare>::insert(Set::Node_root, const Key &key) const {if (root == nullptr) Loading @@ -86,9 +85,6 @@ root->rc = insert(root->rc, key); return fix_up(root); } ``` ``` ### 删除 Loading Loading
docs/ds/llrbt.md +1 −5 Original line number Diff line number Diff line Loading @@ -74,7 +74,6 @@ root->size = size(root->lc) + size(root->rc) + 1; return root; } ``` template<class Key, class Compare> typename Set<Key, Compare>::Node_Set<Key, Compare>::insert(Set::Node_root, const Key &key) const {if (root == nullptr) Loading @@ -86,9 +85,6 @@ root->rc = insert(root->rc, key); return fix_up(root); } ``` ``` ### 删除 Loading