Skip to content

Added FourSumProblem.java #5786 #5853

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

Closed
wants to merge 1 commit into from
Closed

Added FourSumProblem.java #5786 #5853

wants to merge 1 commit into from

Conversation

Krushit-Babariya
Copy link

@Krushit-Babariya Krushit-Babariya commented Oct 15, 2024

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.
  • All filenames are in PascalCase.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • All new code is formatted with clang-format -i --style=file path/to/your/file.java

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 32 lines in your changes missing coverage. Please review.

Project coverage is 66.60%. Comparing base (2a518e3) to head (88a68fc).

Files with missing lines Patch % Lines
...in/java/com/thealgorithms/misc/FourSumProblem.java 0.00% 32 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5853      +/-   ##
============================================
- Coverage     66.70%   66.60%   -0.10%     
- Complexity     4482     4484       +2     
============================================
  Files           608      609       +1     
  Lines         16913    16945      +32     
  Branches       3264     3273       +9     
============================================
+ Hits          11282    11287       +5     
- Misses         5182     5212      +30     
+ Partials        449      446       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

import java.util.Arrays;
import java.util.List;

class Solution {
Copy link
Contributor

Choose a reason for hiding this comment

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

Please refactor the class name to be the same as the name of algorithm.

}
}
}
return ans;
Copy link
Contributor

Choose a reason for hiding this comment

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

Also please add tests.

@Krushit-Babariya Krushit-Babariya closed this by deleting the head repository Oct 17, 2024
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.

3 participants