diff --git a/NeetCodeRoadmap/Arrays_and_Hashing/347_Top_K_Frequent_Elements.py b/NeetCodeRoadmap/Arrays_and_Hashing/347_Top_K_Frequent_Elements.py new file mode 100644 index 0000000..ceae695 --- /dev/null +++ b/NeetCodeRoadmap/Arrays_and_Hashing/347_Top_K_Frequent_Elements.py @@ -0,0 +1,11 @@ +def topKFrequent(nums, k): + """ + :type nums: List[int] + :type k: int + :rtype: List[int] + """ + frequency = {} + for x in nums: + + +print(topKFrequent([1,1,1,2,2,3], 2)) \ No newline at end of file