Question
3. The following table represents a portion of a linked list in a computers main memory. The letters are in alphabetical order. Each entry in
3. The following table represents a portion of a linked list in a computers main memory. The letters are in alphabetical order. Each entry in the list consists of two cells: The first contains a letter of the alphabet; the second contains a pointer to the next list entry. First, alter the pointers so that the letter K is no longer in the list and show that list. (2 points) Then replace the letter K with the letter G (i.e. put G in address 38), and show that list (re-order it). (2 points)
Address Contents
30 J
31 38
32 B
33 30
34 X
35 46
36 N
37 40
38 K
39 36
40 P
41 34
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started