Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the right slice has the same size as input so space complexity is o(n) #164

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

spring1843
Copy link
Owner

Fixes issue #163

What is being changed?

the right slice has the same size as input so space complexity is o(n)

What are the advantages of this change over what exists?

Correct space complexity.

What are the downsides of this change?

N/A

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@spring1843 spring1843 merged commit e5c15c8 into main Jan 13, 2025
2 checks passed
@spring1843 spring1843 deleted the rm/time-complexity-array-product-of-all branch January 13, 2025 02:02
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.

1 participant