I have an array of 102300000 elements. and I want to make two arrays from the elements of this array like this:
- One array should have the elements from the following indices of the original array:
index = 1-20,41-60, 81-100, 121-140 and so on - The other should have the elements from the following indices of the original array:
index = 21-40, 61-80, 101-120, 141-160 and so on
Does anyone have an idea how to implement this?