Segment tree tutorial

Hello Everyone!!!
I started learning seg-tree recently and I have found few very good sources like this website : MAXimal :: algo :: Дерево отрезков . 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

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

3 Likes

a blog by codechef problem setter dparveen Programming and Algorithms: 700 problems to understand you complete algorithmic programming.

1 Like

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

2 Likes

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

http://theoryofprogramming.com/2015/01/27/segment-trees/

Happy Coding!!

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

can someone send me a code for it

This website is beautiful.Thanks dude!

@prrateekk u r welcome :slight_smile: