Priority queue: Difference between revisions

Content added Content deleted
Line 2,512: Line 2,512:


=={{header|M2000 Interpreter}}==
=={{header|M2000 Interpreter}}==
For these three examples, we can use same priorities, so if a priority exist then the new insertion not alter the top item (which we pop or peek from queue).

===Using unordered array===
===Using unordered array===
<lang M2000 Interpreter>
<lang M2000 Interpreter>