what is the error in the code? modifications required?
LL-k Reverse linked list
Hello @Vibhuti0206,
-
Output format is wrong.
Each value should be separated by a space. -
Not incrementing count
-
Not handling head properly.
I have modified your code:
Hope, this would help.
Give a like if you are satisfied.