Multiset vs. Priority Queue

Правка en1, от 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?

Теги set, multiset, priority queue, priorityqueue

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский nchn27 2019-08-20 00:19:50 220 Initial revision (published)