Leetcode 2242. Maximum Score of a Node Sequence | Hello Interview