Given a Linked List, print it in reverse direction using recursion.
Note: Do not reverse the list.
Example
List: 1→3→4→7
Print: 7 4 3 1
Note: Each node should be separated by a space. Do not print new line anywhere. The main function will add the new line between tests.
Problem Link : workat.tech/pr...
#leetcodetamil #leetcode #python #cplusplus #java
11 сен 2024