Skip to content

char8x/binary-heap-different-result

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binary Heap Different Result

Run this in the command line:

deno run main.js

Output: ScreenShot

main.js is three different ways of top-k-frequent-elements implementation.

  1. use Array
  2. use deno_std BinaryHeap
  3. use npm package Heap

But the deno_std BinaryHeap seems has a different result.It also cannot pass all the leetcode test cases.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published