8000 3sum time exceeding problem by wenruimeng · Pull Request #38 · soulmachine/leetcode · GitHub
[go: up one dir, main page]

Skip to content

3sum time exceeding problem #38

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
merged 1 commit into from
Dec 8, 2014
Merged

Conversation

wenruimeng
Copy link
Contributor

The original solution got time exceeding error. This is due to the final sort and unique calling. This approach avoid the unique on-the-fly. It is a little more timing efficient.

@soulmachine
Copy link
Owner

非常感谢,我会尽快抽空review你的代码

soulmachine added a commit that referenced this pull request Dec 8, 2014
3sum time exceeding problem
@soulmachine soulmachine merged commit 5cbeb1b into soulmachine:master Dec 8, 2014
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
0