Resources for Segment Trees

Can anyone provide some good tutorials on Segment Trees?

https://cp-algorithms.com/data_structures/segment_tree.html
Covers almost everything.

Another one: https://codeforces.com/blog/entry/15890

3 Likes

thanks for the help!!

This is a nice video to start with segment trees.


If you want some practise you can refer these questions i think this might help.

Thanks for the resource.

2 Likes
1 Like

Here is one more …
https://codeforces.com/blog/entry/15890
Prepare section of codechef contains some classic problems on segment tree.

https://www.codechef.com/certification/data-structures-and-algorithms/prepare#foundation

And from codeforce.
https://codeforces.com/blog/entry/22616

1 Like