Segment Tree Problem

Asked at DoorDash · Coding & Leetcode-style Questions · Difficulty: Medium

Implement a segment tree for range minimum queries. Given an integer array and several queries, each query requests to return the minimum value in a specified subarray.

Loading the problem…