Hacker Rank Problem-Print in Reverse a linked list in c++

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