Skip to content

Commit 6b66901

Browse files
committed
Fix typo
1 parent ded43f4 commit 6b66901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

top-k-frequent-elements/yolophg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Time Complexity: O(n)
2-
// Space Complexity: O(m)
2+
// Space Complexity: O(n)
33

44
var topKFrequent = function(nums, k) {
55
const frequencyMap = new Map();

0 commit comments

Comments
 (0)