title: How can I check if a 2d array contains an array?
body: <p>Given a 2d array, for example </p>
  
  <pre><code>int[][] arr = { {2,3}, {53, 2}, {23,13} };
  </code></pre>
  
  <p>how can I check if it contains the array <code>{53, 2}</code>?</p>
  
  <p>I have the following code:</p>
  
  <pre><code>int[][] arr = {{1, 3}, {2, 2}, {2, 5}, {3, 1}, {3, 4}, {3, 7}, {4, 3}, {4, 6}, {5, 2}, {5, 5},
                       {5, 8}, {6, 4}, {6, 7}, {7, 3}, {7, 6}, {7, 9}, {8, 5}, {8, 8}, {9, 7}};
  for(int i = 0; i &lt; 11; i++) {
      for(int j = 0; j &lt; 11; j++) {
          //here i want to check if arr contains the array {i, j} 
      }
  }
  </code></pre>
  
  <p>How can this be done simply and efficiently?</p>