Chapter 22: Problem 20
\((\text { Recursively Print a List Backward) Modify the List }<\mathrm{T}>\text { class of Fig. } 22.3\) to include method printListBackward that recursively outputs the items in a linked-list object in reverse order. Write a test program that creates a list of integers and prints the list in reverse order.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.