Skip to content

Water - Iris Lux#23

Open
iris-lux wants to merge 2 commits intoAda-C14:masterfrom
iris-lux:master
Open

Water - Iris Lux#23
iris-lux wants to merge 2 commits intoAda-C14:masterfrom
iris-lux:master

Conversation

@iris-lux
Copy link

@iris-lux iris-lux commented Jun 3, 2021

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 Iris, super compact and yet readable. Well done.

Comment on lines +2 to 4
# 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.

👍 Nice!

Comment on lines +3 to 5
# Time complexity: O(n) where n is the number of elements in the array
# Space Complexity: O(n) - Compact makes a copy of the array.
def newman_conway(num)

Choose a reason for hiding this comment

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

👍 Wow super compact!

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