Question: ch 6 ex 14 lists plus, c++ plus data structures, linked list understanding Problem: Use the linked lists contained in the array pictures in figure

14. Use the linked lists contained in the array pictured in Figure 6.19 to answer the following questions: a. What elements are in the list pointed to by listi? b. What elements are in the list pointed to by list2? c. What array positions (indexes) are part of the free space list? d. What would the array look like after the deletion of Nell from the first list? e. What would the array look like after the insertion of Anne into the second list? Assume that before the insertion, the array is as pictured in Figure 6.19. Chapter 6 Lists Plus free 7 .next .info nodes loj John Mark Nell Naomi Robert Susan 9 Susanne NUL NUL listi o list 2 1 Figure 6.19 An array with three lists (including the free list)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
