@@ -0,0 +1,224 @@
+// http://codingbat.com/prob/p148138%0A%0Apublic int sumHeights(int%5B%5D heights, int start, int end) %7B%0A  int sum = 0;%0A  %0A  for (int i = start; i %3C end; ++i) %7B%0A    sum += Math.abs(heights%5Bi%5D - heights%5Bi+1%5D);%0A  %7D%0A  %0A  return sum;%0A%7D%0A

Create sumHeights.java