title: Checking if a row of a 2-dimensional array exists anywhere within another array
body: <p>Say I have the following sorted array:</p>
  
  <p><code>int[] numbers = {0, 0, 1, 2, 2, 2}</code>.</p>
  
  <p>How can I check if any sub-array of length 3 of <code>numbers</code> exists in the following 2-dimensional array:</p>
  
  <p><code>int[][] sets = { {0, 0, 0}, {1, 1, 1}, {2, 2, 2} }</code></p>
  
  <p>In this simple example, the last 3 elements of <code>numbers</code> are clearly contained as an array in <code>sets</code>, but in my actual program, <code>sets</code> will have far more 3 digit permutations of more numbers, but they will all remain length 3, and <code>numbers</code> will always be sorted. </p>