What is the difference between Binary Indexed Tree and Segment Tree? Please explain.

I am new to these advanced data structures. Please explain me the difference and where to use which one.

Thank you.

3 Likes

I am also new. This i found useful.