SIGN IN SIGN UP
TheAlgorithms / Java UNCLAIMED

All Algorithms implemented in Java

0 0 0 Java

Add Trapping Rainwater problem implementation (Two Pointer Approach) (#6990)

* Add Trapping Rainwater problem implementation (Two Pointer Approach)

* Add Wikipedia reference link for Trapping Rainwater problem

* fix: format TrappingRainwater.java for CI check

* fix: add package and resolve checkstyle errors for TrappingRainwater.java

* fix: declare TrappingRainwater as final to pass Checkstyle

* Add test cases for TrappingRainwater algorithm

* Add test cases for TrappingRainwater algorithm

* Move TrappingRainwater algorithm to stacks package

* Fix: Move TrappingRainwater to stacks and normalize newline in JugglerSequence

* Fix: Normalize newline in JugglerSequence to ensure test consistency

* Fix: Normalize newline in JugglerSequence and remove return statement

* Add JaCoCo plugin for code coverage reporting

* Revert pom.xml to original version from master

* Fix: Revert the pom.xml file

---------

Co-authored-by: Deniz Altunkapan <deniz.altunkapan@outlook.com>
A
Arzoo1701 committed
d126fd59f7c4f9aac8de23db2766bc6f6121394d
Parent: d28fee9
Committed by GitHub <noreply@github.com> on 11/5/2025, 5:41:08 PM