[Python] Leetcode - Top K Frequent Elements

https://leetcode.com/problems/top-k-frequent-elements/ Top K Frequent Elements - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com # 문제해설: nums 배열과 k가 주어졌을때, nums배열에서 가장 자주 등장하는 k개의 수를 return해라. (순서는 상관없다) # heap을 사용해서 푸는 간단한 문제이다. # defaultdict을 사용해 cnt에 nums의 숫자들의 갯수를 저장해준다. (Count..