feat: add top_k.c and refactor top_k.js (#889)

* Add top_k.c based on my_heap.c

* Improve the implementation of top_k.js

* Add a comment to top_k
This commit is contained in:
Yudong Jin
2023-10-26 02:54:19 +08:00
committed by GitHub
parent 9f4076d1c1
commit 7822bf9cd4
13 changed files with 190 additions and 73 deletions
+2 -2
View File
@@ -1,2 +1,2 @@
add_executable(my_heap my_heap.c)
add_executable(my_heap_test my_heap_test.c)
add_executable(top_k top_k.c)