摘要: 621. 任务调度器 class Solution: def leastInterval(self, tasks: List[str], n: int) -> int: # 1. 假设任务间隔为n,最短完成任务时间就是任务总数 # 2.1 假设只有一种taskA,那么可以将A分成k组,每组间隔为n, 阅读全文
posted @ 2022-11-25 09:24 7aughing 阅读(77) 评论(0) 推荐(0) 编辑