Conversation
CheezItMan
left a comment
There was a problem hiding this comment.
Nice work, you hit the basic learning goals, with some issues on space/time complexity. I.e., you didn't do that part. You also left some typos in which prevented tests from running. Check out my comments and let me know if you have any questions.
| # Time Complexity: | ||
| # Space Complexity: | ||
| def add(key, value) | ||
| raise NotImplementedError | ||
| def add(key, value) |
There was a problem hiding this comment.
👍 , but the space and time complexity?
| # Time Complexity: | ||
| # Space Complexity: | ||
| def find(key) |
There was a problem hiding this comment.
👍 , but the space and time complexity?
| # Time Complexity: | ||
| # Space Complexity: | ||
| def inorder | ||
| raise NotImplementedError | ||
| def inorder(node,) |
There was a problem hiding this comment.
👍 , but the space and time complexity?
| # Time Complexity: | ||
| # Space Complexity: | ||
| def preorder | ||
| raise NotImplementedError | ||
| def preorder_helper(current_node, list) |
There was a problem hiding this comment.
👍 , but the space and time complexity?
| # Time Complexity: | ||
| # Space Complexity: | ||
| def postorder_helper(current_node, list) |
There was a problem hiding this comment.
👍 , but the space and time complexity?
| return list | ||
| end | ||
|
|
||
| def pre_order |
There was a problem hiding this comment.
| def pre_order | |
| def preorder |
| # Space Complexity: | ||
| def inorder | ||
| raise NotImplementedError | ||
| def inorder(node,) |
There was a problem hiding this comment.
| def inorder(node,) | |
| def inorder |
No description provided.