Hi, I want to print my linked list backward by using a recursionfunction. Can any one help me write the codes in C++? it doesnot need to be a complete program just a recursion function thatwill allow me to print my list from rear to front(stack). //commentis highly appriciated. Thank you!!! Hi, I want to print my linked list backward by using a recursionfunction. Can any one help me write the codes in C++? it doesnot need to be a complete program just a recursion function thatwill allow me to print my list from rear to front(stack). //commentis highly appriciated. Thank you!!!
Explanation / Answer
Ok, here is some pseudocode that should get you through. I'dprovide you with more, but I don't know EXACTLY what you're tryingto achieve. So here's my best: function_name() { int n = 0; push node n to stack n++; while( n