Leetcode 3414. Maximum Score of Non-overlapping Intervals | Hello Interview