Skip to content

Conversation

Shoyeb45
Copy link
Contributor

@Shoyeb45 Shoyeb45 commented Oct 12, 2025

  • 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

Related to

Closes #6730

@codecov-commenter
Copy link

codecov-commenter commented Oct 12, 2025

Codecov Report

❌ Patch coverage is 82.19178% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.21%. Comparing base (74ddea6) to head (e276f63).

Files with missing lines Patch % Lines
...om/thealgorithms/datastructures/graphs/TwoSat.java 82.19% 6 Missing and 7 partials ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master    #6756   +/-   ##
=========================================
  Coverage     77.20%   77.21%           
- Complexity     6119     6141   +22     
=========================================
  Files           719      720    +1     
  Lines         20452    20525   +73     
  Branches       3956     3973   +17     
=========================================
+ Hits          15790    15848   +58     
- Misses         4062     4069    +7     
- Partials        600      608    +8     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Shoyeb45 Shoyeb45 marked this pull request as ready for review October 12, 2025 12:27
@Shoyeb45 Shoyeb45 changed the title feat: added TwoSat solutions and Tests and also updated Directory.md feat: added TwoSat solutions with Tests, also updated Directory.md Oct 12, 2025
Copy link
Member

@alxkm alxkm left a comment

Choose a reason for hiding this comment

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

Looks good. Thank you for the contribution.

@alxkm alxkm merged commit bc7b656 into TheAlgorithms:master Oct 12, 2025
6 checks passed
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.

[FEATURE REQUEST] Add implementation of 2-SAT (2-Satisfiability) problem in Graphs

3 participants