Using heapsort vs js object to implement priority queue in javascript?

后端 未结 0 1978
臣服心动
臣服心动 2020-12-08 15:21

Trying to figure out which one is more optimal to use and implement.

  • One efficient way to implement a priority queue is heapsort O(n logn).

    E

相关标签:
回答
  • 消灭零回复
提交回复
热议问题