Skip to content

Conversation

@TiffanyChio
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.

Just a note, can you use your 1st name in the PR.

Excellent work! Both methods work and the time and space complexities are right. You can do remove duplicates with better time complexity, but your solution does work.


# Time Complexity: ?
# Space Complexity: ?
# Time Complexity: O(n^2)

Choose a reason for hiding this comment

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

Correct!


# Time Complexity: ?
# Space Complexity: ?
# Time Complexity: O(n) because word lengths are pretty finite, else O(m*n)

Choose a reason for hiding this comment

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

Correct!

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