Problem
Java
Priority queues with comparators
1 | class Solution { |
Submission Detail
- 21 / 21 test cases passed.
- Runtime: 11 ms, faster than 37.93% of Java online submissions for Top K Frequent Elements.
- Memory Usage: 41.2 MB, less than 96.44% of Java online submissions for Top K Frequent Elements.