@@ -0,0 +1,272 @@
+// http://codingbat.com/prob/p170221%0A%0Apublic boolean noTriples(int%5B%5D nums) %7B%0A  for (int i = 0; i %3C (nums.length-2); ++i) %7B%0A    if (nums%5Bi%5D == nums%5Bi+1%5D &&%0A        nums%5Bi%5D == nums%5Bi+2%5D &&%0A        nums%5Bi+1%5D == nums%5Bi+2%5D)%0A    %7B%0A      return false;%0A    %7D%0A  %7D%0A  return true;%0A%7D%0A

Create noTriples.java