Skip to content

feat: add ContainerWithMostWater algorithm with tests - #7740

Open
roshankumar447 wants to merge 2 commits into
TheAlgorithms:masterfrom
roshankumar447:feat/container-with-most-water
Open

roshankumar447 wants to merge 2 commits into
TheAlgorithms:masterfrom
roshankumar447:feat/container-with-most-water

Conversation

@roshankumar447

Copy link
Copy Markdown

Adds ContainerWithMostWater (LeetCode #11) with tests.

@codecov-commenter

codecov-commenter commented Nov 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.35%. Comparing base (defae1e) to head (6bb2b34).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #7740      +/-   ##
============================================
+ Coverage     82.33%   82.35%   +0.01%     
- Complexity     8444     8448       +4     
============================================
  Files           843      844       +1     
  Lines         26154    26165      +11     
  Branches       5109     5111       +2     
============================================
+ Hits          21534    21548      +14     
+ Misses         3830     3829       -1     
+ Partials        790      788       -2     

☔ View full report in Codecov by Harness.
📢 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.

…th-most-water

:wq# Lines starting with '#' will be ignored, and an empty message aborts
Merge remote-tracking branch 'upstream/master' into feat/container-with-most-water
:wq# Lines starting with '#' will be ignored, and an empty message aborts
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
.git/MERGE_MSG[+] [unix] (16:16 10/11/2026)                                                                                                          6,1 All
Merge remote-tracking branch 'upstream/master' into feat/container-with-most-water
:wq# Lines starting with '#' will be ignored, and an empty message aborts
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
.git/MERGE_MSG[+] [unix] (16:16 10/11/2026)                                                                                                          6,1 All
Merge remote-tracking branch 'upstream/master' into feat/container-with-most-water
:wq# Lines starting with '#' will be ignored, and an empty message aborts
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
.git/MERGE_MSG[+] [unix] (16:16 10/11/2026)                                                                                                          6,1 All
Merge remote-tracking branch 'upstream/master' into feat/container-with-most-water
:wq# Lines starting with '#' will be ignored, and an empty message aborts
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
.git/MERGE_MSG[+] [unix] (16:16 10/11/2026)                                                                                                          6,1 All
Merge remote-tracking branch 'upstream/master' into feat/container-with-most-water
:wq# Lines starting with '#' will be ignored, and an empty message aborts
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
.git/MERGE_MSG[+] [unix] (16:16 10/11/2026)                                                                                                          6,1 All
Merge remote-tracking branch 'upstream/master' into feat/container-with-most-water
:wq# Lines starting with '#' will be ignored, and an empty message aborts
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
.git/MERGE_MSG[+] [unix] (16:16 10/11/2026)                                                                                                          6,1 All
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