Introduction to Segment TreesNeed for Segment Tree: Find the sum of given range in an array; Find the min value in the given range in an arrayFinding the sum for given range in an array.Find the min value in the given range in an array