I started learning seg-tree recently and I have found few very good sources like this website : e-maxx.ru/algo/segment_tree . Can anyone help me by giving some good elaborated seg-tree tutorials and seg-tree lazy approach method. I am in a desperate need of a good tutorial on lazy propagation and would appreciate if someone can help me with it.
Hope this clears all your doubts
this will help you to understand and visualize the data structure better and easily
a blog by codechef problem setter dparveen http://praveendhinwacoding.blogspot.in/2013/06/700-problems-to-understand-you-complete.html
I made a course on segment tree covering the basics including few solved examples. Do have a look. This is the Link
I learned it from these sites, hope they prove useful to you too.
Please do include other sites if you come across them
can someone send me a code for it
This website is beautiful.Thanks dude!
@prrateekk u r welcome