Segment Tree for Competitive Programming
What is a Segment Tree?The answer is, Segment Tree is nothing but it's like a Binary Tree, which is used to store information regarding some intervals, and each node in the tree represents some information regarding the intervals.
binarybeast880.hashnode.dev1 min read