Question: Use the linked lists contained in the array pictured in Figure 6.19 to answer the following questions: 1. What elements are in the list pointed
Use the linked lists contained in the array pictured in Figure 6.19 to answer the following questions: 1. What elements are in the list pointed to by list1? 2. What elements are in the list pointed to by list2? 3. What array positions (indexes) are part of the free space list? 4. What would the array look like after the deletion of Nell from the first list? 5. 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.
![nodes [0] [1] [2] [3] [4] [5] 20 [7] [8] [9] listl](https://dsd5zvtm8ll6.cloudfront.net/images/question_images/1708/0/6/7/70865cf0b7c35b021708067705491.jpg)
nodes [0] [1] [2] [3] [4] [5] 20 [7] [8] [9] listl 0 list2 1 .info John Mark Nell Naomi Robert Susan Susanne free 7 .next 4 01 5 3 NUL 8 6 NUL 2 9 NUL Figure 6.19 An array with three lists (including the free list)
Step by Step Solution
There are 3 Steps involved in it
5 What would the array look like after the insertion of Anne into the second list As... View full answer
Get step-by-step solutions from verified subject matter experts
