Skip to content

Conversation

singhshreya-bhriguvanshi
Copy link

@singhshreya-bhriguvanshi singhshreya-bhriguvanshi commented Oct 14, 2024

Given an array arr[] with non-negative integers representing the height of blocks. If width of each block is 1, compute how much water can be trapped between the blocks during the rainy season.

  • 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

Given an array arr[] with non-negative integers representing the height of blocks. If width of each block is 1, compute how much water can be trapped between the blocks during the rainy season.
@codecov-commenter
Copy link

codecov-commenter commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.76%. Comparing base (85b3b1d) to head (b22abcf).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5796      +/-   ##
============================================
- Coverage     64.77%   64.76%   -0.02%     
  Complexity     4295     4295              
============================================
  Files           599      599              
  Lines         16764    16764              
  Branches       3219     3219              
============================================
- Hits          10859    10857       -2     
- Misses         5462     5463       +1     
- Partials        443      444       +1     

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

@siriak
Copy link
Member

siriak commented Oct 25, 2024

We don't add Leetcode problems

@siriak siriak closed this Oct 25, 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