From ee2e61ad4d7652a138bee705b08d0442ec65168f Mon Sep 17 00:00:00 2001 From: Matuush Date: Tue, 15 Apr 2025 16:48:12 +0200 Subject: [PATCH] Remove treap insertion into treap --- treap.hpp | 6 ------ 1 file changed, 6 deletions(-) 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); }