Remove treap insertion into treap
This commit is contained in:
parent
8dfbc802d2
commit
ee2e61ad4d
1 changed files with 0 additions and 6 deletions
|
@ -111,12 +111,6 @@ public:
|
|||
two.first = join(two.first, l);
|
||||
root = join(two);
|
||||
}
|
||||
void insert(count_type k, treap t) {
|
||||
// TODO test
|
||||
auto two = split(root, k);
|
||||
two.first = join(two.first, t.root);
|
||||
root = join(two.first, two.second);
|
||||
}
|
||||
void append(string s) {
|
||||
insert(size(), s);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue