Node 1 -%26gt; Node2 -%26gt; Node3 -%26gt; Node4 -%26gt; Node5
%26lt;- %26lt;- %26lt;- %26lt;-
A ^ is pointing to Node1,B ^ to Node2, and C ^ to Node5.
For example the info value of node 1, referenced from reference A would be A.getInfo().
a. The info value of node 2, referenced from reference B?
b. The link value of node 4, referenced from reference C?
c. Node 1, referenced from reference B?
d. The back value of node 4, referenced from reference C?
Note: Node1 circles back to Node 5 and vs versa.
Using a circular doubly linked list below, give the expression corresponding to each of the following descrip?
I think the answer is:
e. Do you own homework!
=]
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment