每天两道LeetCodeHard:(29)

94 阅读1分钟

188. Best Time to Buy and Sell Stock IV

买卖股票系列的真,最后一题

题干:

和题目123完全相同

解释:

看123

思考:

参考123,k=2即为123

答案:

答案补充: