Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Added 015_3Sum.java #67

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 3 commits into from
Oct 17, 2022
Merged

Added 015_3Sum.java #67

merged 3 commits into from
Oct 17, 2022

Conversation

green-study
Copy link
Contributor

Added 015_3Sum.java


return result; //return result list
}
}
Copy link
Owner

Choose a reason for hiding this comment

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

Add an empty line at the end. :)

int left = i + 1;
int right = nums.length - 1;

if (i > 0 && nums[i] == nums[i-1]){
Copy link
Owner

Choose a reason for hiding this comment

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

Code style: Space before {

@@ -0,0 +1,46 @@
//015. 3Sum
Copy link
Owner

Choose a reason for hiding this comment

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

Other LGTM :)

Modified file
@green-study
Copy link
Contributor Author

The modification has been completed.

add empty line
Copy link
Owner

@qiyuangong qiyuangong left a comment

Choose a reason for hiding this comment

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

LGTM

@qiyuangong qiyuangong merged commit e686121 into qiyuangong:master Oct 17, 2022
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