Skip to content

Commit b9a0653

Browse files
committed
fix: format TrappingRainwater.java for CI check
1 parent 364bcd9 commit b9a0653

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/thealgorithms/searches/TrappingRainwater.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
* Trapping Rainwater Problem
55
* Given an array of non-negative integers representing the height of bars,
66
* compute how much water it can trap after raining.
7-
*
7+
*
88
* Example:
99
* Input: [4,2,0,3,2,5]
1010
* Output: 9
11-
*
11+
*
1212
* Time Complexity: O(n)
1313
* Space Complexity: O(1)
14-
*
14+
*
1515
* Reference: https://en.wikipedia.org/wiki/Trapping_rain_water
1616
*/
1717
public class TrappingRainwater {

0 commit comments

Comments
 (0)