-
Notifications
You must be signed in to change notification settings - Fork 44
India - Water #28
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?
India - Water #28
Conversation
CheezItMan
left a comment
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.
Nice work India, you hit the learning goals here. Well done. My only comments here were on the missing space/time complexities.
| # Time Complexity: ? | ||
| # Space Complexity: ? | ||
| def add_first(value) | ||
| raise NotImplementedError | ||
| end | ||
| def add_first(value) |
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/space complexity?
| # Time Complexity: ? | ||
| # Space Complexity: ? | ||
| def search(value) | ||
| raise NotImplementedError | ||
| def search(value) |
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/space complexity?
| # method to return the max value in the linked list | ||
| # returns the data value and not the node | ||
| def find_max | ||
| raise NotImplementedError | ||
| def find_max |
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/space complexity?
| # Time Complexity: ? | ||
| # Space Complexity: ? | ||
| def find_min | ||
| raise NotImplementedError | ||
| def find_min |
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/space complexity?
| # Time Complexity: ? | ||
| # Space Complexity: ? | ||
| def get_first | ||
| raise NotImplementedError | ||
| end | ||
| def get_first |
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/space complexity?
| # Time Complexity: ? | ||
| # Space Complexity: ? | ||
| def add_last(value) | ||
| raise NotImplementedError | ||
| def add_last(value) |
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/space complexity?
| # Time Complexity: ? | ||
| # Space Complexity: ? | ||
| def length | ||
| raise NotImplementedError | ||
| def length |
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/space complexity?
| # Time Complexity: ? | ||
| # Space Complexity: ? | ||
| def get_at_index(index) | ||
| raise NotImplementedError | ||
| def get_at_index(index) |
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/space complexity?
| # Time Complexity: ? | ||
| # Space Complexity: ? | ||
| def visit | ||
| raise NotImplementedError | ||
| def visit |
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/space complexity?
No description provided.