621. Task Scheduler——python——array

  class Solution(object): def kthSmallest(self, tasks, n): dic = collections.Counter(tasks) maxcount = max(dic.values()) count = 0 for i in dic.keys():
相關文章
相關標籤/搜索