labuladong / fucking-algorithm

刷算法全靠套路,认准 labuladong 就够了!English version supported! Crack LeetCode, not only how, but also why.
https://labuladong.online/algo/
125.85k stars 23.23k forks source link

[fix][javascript] top-k-frequent-elements #1584

Open Jayden12138 opened 6 months ago

Jayden12138 commented 6 months ago

Fixes #1180

我修改的是如下题目的 javascript 解法:

https://leetcode.cn/problems/top-k-frequent-elements/

通过截图如下:

image