Skip to content

Conversation

@ChaAbby
Copy link

@ChaAbby ChaAbby commented Jan 20, 2022

No description provided.

Copy link

@CheezItMan CheezItMan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work Abigail, you hit the learning goals here. Well done. You've now completed the required number of projects.

Comment on lines +13 to +14
max_sum = nums[0]
curr_sum = nums[0]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice touch starting them as the 1st element

Comment on lines 2 to +6
def max_sub_array(nums):
""" Returns the max subarray of the given list of numbers.
Returns 0 if nums is None or an empty list.
Time Complexity: ?
Space Complexity: ?
Time Complexity: O(n)
Space Complexity: O(1)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Nice work

Comment on lines 5 to 9
def newman_conway(num):
""" Returns a list of the Newman Conway numbers for the given value.
Time Complexity: ?
Space Complexity: ?
Time Complexity: O(N)
Space Complexity: O(N)
"""

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Well done Abigail.

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.

2 participants