diff --git a/treap.hpp b/treap.hpp index 2c7fbf7..6beb16c 100644 --- a/treap.hpp +++ b/treap.hpp @@ -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); }