Priority queue - Wikipediahttps://en.wikipedia.org/wiki/Priority_queue
Read a paper: Programming with Abstract Data Types : programminghttps://www.reddit.com/r/programming/comments/ax83of/read_a_paper_programming_with_abstract_data_types/