Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update _189.java #40

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

Merged
fishercoder1534 merged 1 commit into fishercoder1534:master from jianguda:patch-3
Mar 12, 2019
Merged

Update _189.java #40

fishercoder1534 merged 1 commit into fishercoder1534:master from jianguda:patch-3
Mar 12, 2019

Conversation

Copy link
Contributor

@jianguda jianguda commented Mar 11, 2019

No description provided.

Copy link
Owner

@fishercoder1534 fishercoder1534 left a comment

Choose a reason for hiding this comment

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

This Solution3 runtime is O(n*2), right? It's less optimal than the existing solutions, any particular reasons you want to add it?
Thanks!

Copy link
Contributor Author

It is not one good solution in terms of time complexity but is exactly the solution which costs O(1) extra space.

Copy link
Owner

Got it, thanks for reminding me of that!
Nice work! 👍

@fishercoder1534 fishercoder1534 merged commit b87ebf6 into fishercoder1534:master Mar 12, 2019
fishercoder1534 pushed a commit that referenced this pull request Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@fishercoder1534 fishercoder1534 fishercoder1534 requested changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /