File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 55
66/*
77 * Author : joney_000[developer.jaswant@gmail.com]
8- * Algorithm : Treap [As Kth Element] Tree + heap
8+ * Algorithm : Treap [As Kth Element] Tree + heap & Rope data structure
99 * Platform : Codeforces
1010 * Ref : https://threads-iiith.quora.com/Treaps-One-Tree-to-Rule-em-all-Part-1
11+ * https://www.youtube.com/watch?v=erKlLEXLKyY
12+ * https://threads-iiith.quora.com/Treaps-One-Tree-to-Rule-em-all-Part-2
1113 */
1214
1315class Treap {
@@ -70,7 +72,7 @@ public A(boolean stdIO)throws FileNotFoundException{
7072
7173 void run ()throws Exception {
7274 Treap treap = null ;
73- Set <Integer > set = new TreeSet <>();
75+ Set <Integer > set = new TreeSet <Integer >();
7476 for (int i = 0 ; i < 100000 ; i ++) {
7577 int x = random .nextInt (100000 );
7678 if (random .nextBoolean ()) {
You can’t perform that action at this time.
0 commit comments