@@ -0,0 +1,470 @@
+// http://codingbat.com/prob/p134022%0A%0Apublic boolean linearIn(int%5B%5D outer, int%5B%5D inner) %7B%0A  if (inner.length == 0) %7B%0A    return true;%0A  %7D%0A  %0A  int foundElementsCount = 0;%0A  int j = 0;%0A  %0A  for (int i = 0; i %3C outer.length; ++i) %7B%0A    if (outer%5Bi%5D == inner%5Bj%5D) %7B%0A      foundElementsCount++;%0A      j++;%0A    %7D%0A    else if (outer%5Bi%5D %3E inner%5Bj%5D) %7B%0A      return false;%0A    %7D%0A    %0A    if (foundElementsCount == inner.length) %7B%0A      return true;%0A    %7D%0A  %7D%0A  %0A  return false;%0A%7D%0A

Create linearIn.java