Leetcode 1717. Maximum Score From Removing Substrings | Hello Interview