Add imports for Java solutions

This commit is contained in:
2023-10-06 03:25:12 -05:00
parent 9e0c58faff
commit 5a1efd2418
10 changed files with 42 additions and 12 deletions

View File

@@ -3,6 +3,10 @@
// Memory Usage: 39.1 MB
// Submitted: January 15th, 2021
import java.util.HashMap;
import java.util.Map;
import java.util.PriorityQueue;
class Solution {
public int[] frequencySort(int[] nums) {
Map<Integer, Integer> count = new HashMap<Integer, Integer>();