I have my 0th, 2nd, 4th, and nth elements in
int[] even;
Accordingly I have my 1st, 3rd, 5th and nth elements in
int[] odd;
I need to add elements to
int[][] result;
in such a way that
edges[0][0] = even[0]; edges[0][1] = odd[0];
and so on, how can I achieve this result?
Each result index only has 2 integers in the array.
Thank you!