- You've to display the digits of a number in reverse.
- Take as input "n", the number for which digits have to be display in reverse.
- Print the digits of the number line-wise, but in reverse order.
Example 1:
Input: 65784383 Output: 3 8 3 4 8 7 5 6
Constraints:
1 <= n < 10^9