摘要:
Link: https://leetcode.com/problems/missing-number/ Constraints: n == nums.length 1 <= n <= 104 0 <= nums[i] <= n All the numbers of nums are unique. 阅读全文
摘要:
Link: https://leetcode.com/problems/top-k-frequent-elements/ Constraints: 1 <= nums.length <= 105 k is in the range [1, the number of unique elements 阅读全文
摘要:
Link: https://leetcode.com/problems/top-k-frequent-words/ Code class Solution { public List<String> topKFrequent(String[] words, int k) { Map<String, 阅读全文