Hi, I want to print my linked list backward by using a recursionfunction. Can an
ID: 3609883 • Letter: H
Question
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( nRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.