Question: 1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A (In File A) 1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B
1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A (In File A)
1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B (In File B)

1. Create a class 'node' which is composed of two members: a letter and a number. 2. Build a singly-linked list by reading from 'fileA'. A node should be or contain a node object, the implementation is up to you 3. Build a separate linked list by reading from 'fileB. 4. Create a recursive print function which prints your lists in the following format: 10A-9A->8A-1A and then 10B ->9B-> 8B- 1B Meaning that your function will print the list in reverse Note: Your recursive function must not alter the list in any way
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
