Maximum Score From Performing Multiplication Operations Leetcode