Leetcode 3501. Maximize Active Section with Trade II | Hello Interview