Skip to content

Commit d80200f

Browse files
refactor 42
1 parent 1ee1bb1 commit d80200f

File tree

1 file changed

+0
-12
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-12
lines changed

src/main/java/com/fishercoder/solutions/_42.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 42. Trapping Rain Water
5-
* Given n non-negative integers representing an elevation map where the width of each bar is 1,
6-
* compute how much water it is able to trap after raining.
7-
8-
For example,
9-
Given [0,1,0,2,1,0,1,3,2,1,2,1], return 6.
10-
11-
The above elevation map is represented by array [0,1,0,2,1,0,1,3,2,1,2,1].
12-
In this case, 6 units of rain water (blue section) are being trapped.
13-
*/
14-
153
public class _42 {
164

175
public static class Solution1 {

0 commit comments

Comments
 (0)