Ok so I know it's really easy to reverse an array by swapping items up until you reach the middle. Like this:
int array[SIZE];
int temp;
for (int i = 0; i < SIZE/2; i++)
  {
     temp = array[i];
     array[i] = array[SIZE-1 - i];
     array[SIZE-1 - i] = temp;
  }
But what if the array size is really huge like 10000? Is it possible to do it O(N) ?
 
     
     
    