摘要:
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. 阅读全文
posted @ 2021-08-10 20:19
blackraven25
阅读(46)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2021-08-10 18:48
blackraven25
阅读(28)
评论(0)
推荐(0)
摘要:
Link: https://leetcode.com/problems/top-k-frequent-words/ Code class Solution { public List<String> topKFrequent(String[] words, int k) { Map<String, 阅读全文
posted @ 2021-08-10 18:21
blackraven25
阅读(25)
评论(0)
推荐(0)
浙公网安备 33010602011771号