Skip to content

Conversation

vwhwang
Copy link

@vwhwang vwhwang commented Oct 4, 2020

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.

Nice work Vicki, you hit the learning goals here. Well done.

Comment on lines +3 to 5
# Time Complexity: O(n)
# Space Complexity: O(n)
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.

👍 Your space complexity is O(1) here however.

Comment on lines +3 to 7
# Time complexity: O(n)
# Space Complexity: O(n)

# P(n) = P(P(n - 1)) + P(n - P(n - 1)
def newman_conway(num)

Choose a reason for hiding this comment

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

👍

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