Skip to content

Conversation

@MarlzRana
Copy link
Contributor

The prior solution had a time and space complexity in the O(n)
The proposed solution has the same time complexity in the O(n)
The proposed solution has an improved space complexity in the O(1)

- The prior solution had a time and space complexity in the 0(n)
- The proposed solution has the same time complexity in the O(n)
- The proposed solution has an improved space complexity in the O(1)
Copy link
Collaborator

@MHamiid MHamiid left a comment

Choose a reason for hiding this comment

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

Thanks.

@MHamiid MHamiid merged commit 6116eb6 into neetcode-gh:main Nov 6, 2023
@MarlzRana MarlzRana deleted the update-0169 branch November 6, 2023 16:50
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