Method to clear all the nodes from a heap (priority queue)

前端 未结 0 1678
[愿得一人]
[愿得一人] 2020-12-13 10:50

public void clear() {

}

Is there a generic code for the clear method for priority queues?

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