I am looking for quick ways of implementing a priority queue, for the use of Dijkstra and Prim’s algorithm. I am not looking for implementations of priority queue from the standard library as there is none that I know of in my programming language.

Please have answer in pseudo-code! Ty