1717. Maximum Score From Removing Substrings - Explanation

Problem Link