Please read the new rule regarding the restriction on the use of AI tools. ×

PERSISTENT SEGMENT TREE
Difference between en1 and en2, changed 246 character(s)
Hey , i was learning persistent segment trees , i got what the concept behind it and now i have to solve problems.I guess people out here might be having some built in templates , can you sahhare yours so that i can see how to efficiently code it as i read that too much pointers can cause TLE.↵
Thanks.

**IF YOU ARE HAVING SOME TEMPLATE REGARDING THIS STRUCTURE WHICH YOU USE IN CONTESTS ( A SAMPLE PROBLEM USING IT IS HIGHLY APPRECIATED) THEN PLEASE SHARE AS I WANT TO LOOK INTO ALL THOSE TO LEARN THE HIGHLY EFFICIENT ONE AMONGST THEM**

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English javacoder1 2016-09-01 06:21:42 203
en2 English javacoder1 2016-06-15 04:09:23 246
en1 English javacoder1 2016-06-14 23:14:59 324 Initial revision (published)