Maximize Win From Two Segments Biweekly Contest 97 Leetcode Codingmohan