(coolingPeriodQueue, maxHeap)
| 68 | }; |
| 69 | |
| 70 | const reQueueCoolingPeriod = (coolingPeriodQueue, maxHeap) => { |
| 71 | while (!coolingPeriodQueue.isEmpty()) { |
| 72 | maxHeap.enqueue(coolingPeriodQueue.dequeue()); |
| 73 | } |
| 74 | }; |
| 75 | |
| 76 | /** |
| 77 | * https://leetcode.com/problems/task-scheduler/ |
no test coverage detected