Segment Tree SPOJ Tree SEGSQRSS - Sum of Squares with Segment Tree - SPOJ Solution C++ April 03, 2021 Add Comment ➤ Problem Link : SEGSQRSS 👉 Hint : Build two Segment Trees with Lazy Propagation ✅ C++ Solution : #include<bits/stdc++.h> usi... Read More
Segment Tree SPOJ BGSHOOT - Shoot and kill - SPOJ Solution C++ March 29, 2021 Add Comment ➤ Problem Link : BGSHOOT 👉 Hint : edit please ✅ C++ Solution : #include<bits/stdc++.h> using namespace std; #define ll long... Read More
Segment Tree SPOJ Tree HORRIBLE - Horrible Queries - SPOJ Solution C++ March 26, 2021 Add Comment ➤ Problem Link : HORRIBLE 👉 Hint : Segment Tree with Lazy Propagation ✅ C++ Solution : #include<bits/stdc++.h> using namespac... Read More
Segment Tree SPOJ GSS5 - Can you answer these queries V - SPOJ Solution C++ March 17, 2021 Add Comment ➤ Problem Link : GSS5 👉 Hint : Segment Tree with prefix, suffix, maximum and total sum in node ✅ C++ Solution : #include<bits/st... Read More
Segment Tree SPOJ Tree MULTQ3 - Multiples of 3 - SPOJ Solution C++ March 13, 2021 Add Comment ➤ Problem Link : MULTQ3 👉 Hint : Segment Tree with Lazy Propagation ✅ C++ Solution : #include<bits/stdc++.h> using namespace ... Read More
Segment Tree SPOJ Tree GSS3 - Can you answer these queries III - SPOJ Solution C++ March 12, 2021 Add Comment ➤ Problem Link : GSS3 👉 Hint : Build Segment Tree and store prefix,suffix,maximum and total sum in node ✅ C++ Solution : #include... Read More
Segment Tree SPOJ RPLN - Negative Score - SPOJ Solution C++ March 08, 2021 Add Comment ➤ Problem Link : RPLN 👉 Hint : Build Segment Tree and query for every text case ✅ C++ Solution : #include<bits/stdc++.h> usin... Read More
Segment Tree SPOJ Tree GSS1 - Can you answer these queries I - SPOJ Solution C++ March 07, 2021 Add Comment ➤ Problem Link : GSS1 👉 Hint : Segment Tree ✅ C++ Solution : #include<bits/stdc++.h> using namespace std; #d... Read More