PRINT REVERSE
Submit solution
C
Points:
10
Time limit:
5.0s
Memory limit:
5K
Author:
Problem type
Allowed languages
Write a recursive function to print the given integer array in reverse order.
INPUT FORMAT
N - number of elements
List of integers
OUTPUT FORMAT
List of integers in reverse order
Example:
Input
5
2 3 4 5 6
Output
6 5 4 3 2
Comments