Leetcode 2555. Maximize Win From Two Segments | Hello Interview