#competitive-programming
Read more stories on Hashnode
Articles with this tag
#include <bits/stdc++.h> using namespace std; int n; vector<int> a; vector<int> segTree; // build function to build the segment tree void build(int...