@@ -0,0 +1,357 @@
+package leetcode;%0A%0A/**%0A * https://leetcode.com/problems/trapping-rain-water/%0A */%0Apublic class Problem42 %7B%0A    public int trap(int%5B%5D height) %7B%0A        return 0;%0A    %7D%0A    %0A    public static void main(String%5B%5D args) %7B%0A        Problem42 prob = new Problem42();%0A        System.out.println(prob.trap(new int%5B%5D%7B0, 1, 0, 2, 1, 0, 1, 3, 2, 1, 2, 1%7D)); // 6%0A    %7D%0A%7D%0A

Create a skeleton for problem 42