English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Node 1 -> Node2 -> Node3 -> Node4 -> Node5
<- <- <- <-

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 1, referenced from reference C?

b The link value of node 2, referenced from reference A?

C The back value of node 1, referenced from reference A?

Note: Node1 circles back to Node 5 and vs versa.

2007-03-19 01:28:41 · 3 answers · asked by Anonymous in Computers & Internet Programming & Design

3 answers

Note: try it yourself before you ask for help.

2007-03-19 02:11:21 · answer #1 · answered by Anonymous · 0 0

Circular-Doubly-linked list?... oh...
then, each node has two pointers of (prev,next) . Yeah?
well, then

a. C->next would be A, so we can solve it by...
C->next->getinfo();

b. A->next->getinfo();
Oh, here, what does it meant by ?
May i get it by the info of node 2?,If you don't mind, then it is possible...

c. A->prev is C, so
A->prev->getinfo();


thank you reading my poor opinion...

2007-03-19 04:09:00 · answer #2 · answered by QuizBox 2 · 0 0

You neglected P3D, yet I definitely don't be conscious of what it stands for. Its like the Atheati, no individual will clarify it to you. there is also lots of RIP Allecat people, yet thats no longer a collection a lot as those who opt to reveal that they omit her.

2016-11-26 22:08:20 · answer #3 · answered by quire 4 · 0 0

fedest.com, questions and answers