Multiset vs. Priority Queue

Revision en1, by nchn27, 2019-08-20 00:19:50

In use, multiset seems more versatile than priority queue due to the fact that you can remove things other than the first element. In C++, when would priority_queue be used instead of multiset?

Tags set, multiset, priority queue, priorityqueue

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English nchn27 2019-08-20 00:19:50 220 Initial revision (published)