A recursive method to print in reverse working well go ahead and try this method -


void reversePrint(SinglyLinkedListNode* head) {
     if(head == NULL)return ;

view full at-https://www.theroyallakshya.com/post/hacker-rank-problem-print-in-reverse-a-linked-list-in-c

LEAVE A REPLY

Please enter your comment!
Please enter your name here