title: How to flatten 2D array to 1D array?
body: <p>How can I flatten the 2 dimensions array <code>int originalArray[][]</code> to 1 dimension array?</p>
  
  <pre><code>    int a [] = {1,2,6,7,2};
      int b [] = {2,44,55,2};
      int c [] = {2,44,511,33};
  
      int originalArray [][] = new int[][]{a,b,c};
  </code></pre>