Skip to content

Update utils4e.py#1217

Open
pctablet505 wants to merge 3 commits intoaimacode:masterfrom
pctablet505:patch-3
Open

Update utils4e.py#1217
pctablet505 wants to merge 3 commits intoaimacode:masterfrom
pctablet505:patch-3

Conversation

@pctablet505
Copy link
Copy Markdown

Better implementation of PriorityQueue to reduce time complexity of
contains, getitem from O(n) to (1)
and for delitem from O(n) to O(log n) amortized

Better implementation of PriorityQueue to reduce time complexity of
 __contains__, __getitem__ from O(n) to (1) 
and for __delitem__ from O(n) to O(log n) amortized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant