Skip to content

Commit 20d8d40

Browse files
authored
Update Exercise-54-Priority_queue_simple.py
1 parent bf3a7f7 commit 20d8d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Exercise-54-Priority_queue_simple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Priority Queue is an extension of the queue with following properties.
22
# 1) An element with high priority is dequeued before an element with low priority.
33
# 2) If two elements have the same priority, they are served according to their order in the queue
4-
# The delete operation has time complexity of O(n)
4+
## The delete operation has time complexity of O(n)
55

66
class PriorityQueue(object):
77
def __init__(self):

0 commit comments

Comments
 (0)