LeetCode Dynamic Programming Two PointerDaily Leetcode - 1578. Minimum Time to Make Rope ColorfulMedium 用two pointer 解