8000 Create priority_queue_using_list.py by Ashley-J-George · Pull Request #2435 · TheAlgorithms/Python · GitHub
[go: up one dir, main page]

Skip to content

Create priority_queue_using_list.py #2435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 16, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update priority_queue_using_list.py
  • Loading branch information
Ashley-J-George authored Sep 16, 2020
commit 5179f712ecc302563fcd13a3d7035688ed0c8fce
4 changes: 2 additions & 2 deletions data_structures/queue/priority_queue_using_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class FixedPriorityQueue:
>>> FPQ.dequeue()
Traceback (most recent call last):
...
Exception: Under Flow!
priority_queue_using_list.UnderFlow: Under Flow!
"""

def __init__(self):
Expand Down Expand Up @@ -162,7 +162,7 @@ class ElementPriorityQueue:
>>> EPQ.dequeue()
Traceback (most recent call last):
...
Exception: Under Flow!
priority_queue_using_list.UnderFlow: Under Flow!
"""

def __init__(self):
Expand Down
0