-
Notifications
You must be signed in to change notification settings - Fork 51
Tiffany Harper :: Completed all methods #24
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Tiffany, I'm grading this project as a yellow since the time and space complexities were left blank as were the comprehension questions.
A yellow is a passing score so resubmission is not required, however if you would like a green score, please resubmit with the Big O and comprehension questions completed.
🟡
Time Complexity: ? | ||
Space Complexity: ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✨ But what about time and space complexity?
the heap property is reestablished. | ||
""" | ||
pass | ||
heap = self.store |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✨
Time complexity: ? | ||
Space complexity: ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✨ Implementation works but what about time and space complexity?
|
||
|
||
def empty(self): | ||
""" This method returns true if the heap is empty |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✨ Implementation works but what about time and space complexity?
Time Complexity: ? | ||
Space Complexity: ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✨ Implementation works but what about time and space complexity?
Time Complexity: ? | ||
Space Complexity: ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✨ Implementation works but what about time and space complexity?
@@ -1,8 +1,18 @@ | |||
from min_heap import MinHeap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from min_heap import MinHeap | |
from heaps.min_heap import MinHeap |
Heaps Practice
Congratulations! You're submitting your assignment!
Comprehension Questions
heap_up
&heap_down
methods useful? Why?