Is a priority queue implemented using min-heap or max-heap?

前端 未结 0 896
一个人的身影
一个人的身影 2021-01-01 18:17

How is the priority queue implemented by default? In some articles I have read that min-heap is the default implementation, while some others give max-heap as the default. I

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