Memory limit with Persistent Segment Tree
Hello There
I'm trying to solve this Problem using a persistent segment tree
I keep getting TLE for reasons i can't find
If anyone would so kindly explain the reason behind the memory leak it would be really appreciated
Here is my code