https://leetcode.cn/problems/minimum-time-to-complete-all-tasks 思路1: 按照task 结束时间排序 枚举每个时间点,原因是end time <= 2000