This is for the information that the repository has been excluded by the Hacktoberfest team from the event. This was done to maintain the quality standards and promote good quality open source contributions.
Trapping Rain Water is a popular program and coders often get confused in it so I have written and added my code for this issue, I have also added comments throughout the code for better understanding.
Fixes: #626
Type of change
Code added with proper explanations using comments in java.
Please delete options that are not relevant
[ ] New feature (non-breaking change which adds functionality)
Checklist:
[ ] I have read the contribution guidelines before making this PR.
Description
Fixes: #626
Type of change
Please delete options that are not relevant
Checklist: