For Q2 , I think the correct answer is N.


If we take an array of 2N elements where N=6.
Now, A[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] be an array for eg.

For 2-0rdered :
0 1
2 3
...