You are viewing a single comment's thread. Return to all comments →
Question says "you are given head" while the pointer returns you the tail !! So if someone is getting wrong answer. you can correct yourself. #Cheers# Happy Coding
Hi Gaurav, it is already mentioned in the output format that the head of reversed list should be reversed. Please correct me if I get your query wrong.
\* head of reversed list should be _returned_.
Helped me :)