Notice
Recent Posts
Recent Comments
Link
목록2023/05/22 (1)
넘치게 채우기
[LeetCode] 347. Top K Frequent Elements
https://leetcode.com/problems/top-k-frequent-elements/description/ Top K Frequent Elements - LeetCode Can you solve this real interview question? Top K Frequent Elements - Given an integer array nums and an integer k, return the k most frequent elements. You may return the answer in any order. Example 1: Input: nums = [1,1,1,2,2,3], k = 2 Output: [1,2] leetcode.com 문제 유형 : 해시, 힙 문제 난이도 : Medium ..
PS/LeetCode
2023. 5. 22. 14:06