Solved Problem!


#1

The correct answer is–
5 10 2 1 5 1 2 10
Put double space after each of the array element.
The first Part of the B array will be same as since B[i]=A[i]
for rest calculate/focus for this statement only–
B[i + len] = A[(len - i) % len]
You will get this next part
5 1 2 10