
Priority Queue란? In computer science, a priority queue is an abstract data type similar to a regular queue or stack data structure in which each element additionally has a "priority" associated with it. In a priority queue, an element with high priority is served before an element with low priority. Priority Queue는 Queue나 Stack 같은 일반적인 자료구조에 우선순위(priority)라는 요소가 추가된 데이터 타입이다. Priority Queue 에선 우..
datastructure
2021. 10. 25. 23:03