We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59d1495 commit b5b10eeCopy full SHA for b5b10ee
top-k-frequent-elements/flynn.cpp
@@ -21,7 +21,7 @@ class Solution {
21
vector<int> topKFrequent(vector<int>& nums, int k) {
22
vector<int> res;
23
priority_queue<pair<int, int>> pq;
24
- unorderd_map<int, int> m;
+ unordered_map<int, int> m;
25
26
auto nums_it = nums.begin();
27
while (nums_it != nums.end()) {
0 commit comments