leetcode621——优先队列的思路

题目连接:https://leetcode-cn.com/problems/task-scheduler/node 思路:数量多的先安排任务,少的后安排,每次仅仅采用每类任务个数减1的方式app class Solution { public: struct node { node():ch('.'),count(0){} node(char c,i
相关文章
相关标签/搜索