Segment tree tutorial

Hello Everyone!!!
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.

3 Likes

Hope this clears all your doubts :slight_smile:

3 Likes

Thank you!
Please do include other sites if you come across them :slight_smile:

can someone send me a code for it

this will help you to understand and visualize the data structure better and easily :slight_smile:

3 Likes

This website is beautiful.Thanks dude!

@prrateekk u r welcome :slight_smile:

a blog by codechef problem setter dparveen http://praveendhinwacoding.blogspot.in/2013/06/700-problems-to-understand-you-complete.html

1 Like

I made a course on segment tree covering the basics including few solved examples. Do have a look. This is the Link

1 Like

I learned it from these sites, hope they prove useful to you too.

http://codeforces.com/blog/entry/18051

Happy Coding!!