Skip to content

Commit 9db20e0

Browse files
committed
PriorityQueue Readme
1 parent dd02836 commit 9db20e0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
### PriorityQueue
2+
- [Priority Queue](PriorityQueue.cpp)
3+
4+
PriorityQueue, which is an extension of queue with following properties. First, every item has a priority associated with it. Next, an element with high priority is dequeued before an element with low priority. Finally, if two elements have the same priority, they are served according to their order in the queue.
5+
6+
Time complexity => O(nlog n)

0 commit comments

Comments
 (0)