Skip to content

Conversation

@geli-gel
Copy link

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.

Awesome work! You hit all the learning goals here. Well done.

Comment on lines +2 to 4
# Time Complexity: o(n) - one loop for each num in nums
# Space Complexity: o(1) - creates 2 variables only, no matter value of nums
def max_sub_array(nums)

Choose a reason for hiding this comment

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

👍

Comment on lines +3 to 5
# Time complexity: o(n) - runtime for most values of num and in worst case is n - 2 calculations
# Space Complexity: o(n) - size of sequence and answer string has linear dependency on value of num
def newman_conway(num)

Choose a reason for hiding this comment

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

👍 Well done

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