Leetcode Minimum Cost To Cut A Stick