-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Conversation
java/015_3Sum.java
Outdated
|
||
return result; //return result list | ||
} | ||
} |
There was a problem hiding this comment.
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. :)
java/015_3Sum.java
Outdated
int left = i + 1; | ||
int right = nums.length - 1; | ||
|
||
if (i > 0 && nums[i] == nums[i-1]){ |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other LGTM :)
Modified file
The modification has been completed. |
add empty line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Added 015_3Sum.java