https://leetcode.cn/problems/minimum-cost-for-tickets/solution/jiao-ni-yi-bu-bu-si-kao-dpcong-ji-yi-hua-tkw4/ 这个从右往左的分析给人一种拨云见雾的感觉