摘要:
class Solution { public List<String> topKFrequent(String[] words, int k) { Map<String, Integer> map = new HashMap<>(); for(String word: words) map.put 阅读全文
posted @ 2022-02-08 23:18
明卿册
阅读(23)
评论(0)
推荐(0)
摘要:
private int capacity = 16; private int[] container; private boolean[] table; public MyHashMap() { this.container = new int[capacity]; this.table = new 阅读全文
posted @ 2022-02-08 23:04
明卿册
阅读(30)
评论(0)
推荐(0)

浙公网安备 33010602011771号