@@ -0,0 +1,621 @@
+public boolean levelField(int%5B%5D nums) %7B %0A%0A    ArrayList%3CInteger%3E numsList = new ArrayList%3CInteger%3E();%0A    for (int i=0; i%3Cnums.length; i++)%0A    %7B%0A       numsList.add(nums%5Bi%5D);%0A    %7D%0A    %0A    return levelFieldB(numsList);%0A%7D%0A%0Apublic boolean levelFieldB(ArrayList%3CInteger%3E numsList) %7B%0A  if (numsList.size() %3C 3) return false;%0A  // Compute lowest and highest values%0A  int low = numsList.get(0);%0A  int high = numsList.get(0);%0A  for (int elevation : numsList) %7B%0A    if (elevation %3C low) low = elevation;%0A    if (elevation %3E high) high = elevation;%0A  %7D%0A  // Make sure range is not greater than eight%0A  return high - low %3C= 8;%0A%7D%0A

Create levelField.java