This commit is contained in:
2025-10-14 19:34:49 +08:00
parent a96de06a95
commit b6c8c03411
2 changed files with 76 additions and 0 deletions

View File

@@ -17,4 +17,9 @@ class Solution {
}
return ans;
}
public static void main(String[] args) {
Solution s = new Solution();
System.out.println(s.maxFrequencyElements(new int[] {1, 2, 3, 4, 5}));
}
}