|All-time Popular Problems|
|Sort a stack|
|Delete Middle of Linked List|
|BFS traversal of graph|
|Largest subarray of 0's and 1's|
|Immediate Smaller Element|
|Delete nodes having greater value on right|
|Node at a given index in linked list|
|Two numbers with sum closest to zero|
|Print all nodes that don’t have sibling|
Given an array, print reverse of it.
First line contains an integer, the number of test cases 'T' Each test case should contain an integer, size of array 'N' in the first line. In the second line Input the integer elements of the array in a single line separated by space.
Print the array in reverse order in a single line separated by space.Each array is to be printed in separate line.
1 <= T <= 100
1 <= N <=100
0 <= Arr[i] <= 100
1 2 3 4
4 3 2 1