You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 19: TypeError: pq.offer is not a function
Line 19 in solution.js
pq.offer({ word, freq });
^
TypeError: pq.offer is not a function
Line 19: Char 12 in solution.js (topKFrequent)
Line 44: Char 19 in solution.js (Object.<anonymous>)
Line 16: Char 8 in runner.js (Object.runner)
Line 33: Char 26 in solution.js (Object.<anonymous>)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
Debug:
你是否愿意提交 PR 修复这个 bug?
我愿意!
The text was updated successfully, but these errors were encountered:
此 issue 的目的是修复 chatGPT 转译的多语言代码,更详细的背景信息和修复流程见:#1113
请在提交 bug 之前先搜索
出错的题目链接
https://leetcode.cn/problems/top-k-frequent-words/
报错信息
你是否愿意提交 PR 修复这个 bug?
The text was updated successfully, but these errors were encountered: