Question: 1) Assume that the structure is defined and nodes are created with pointers LEFT, RIGHT Write the program statements that link the nodes using these
1) Assume that the structure is defined and nodes are created with pointers LEFT, RIGHT Write the program statements that link the nodes using these pointers.
Just write the statements that do the linking. Do write a program or a complete function.
2)For the graph in #1 (above)
) Which vertices are degree 1 ____________
Which vertices are degree 3 __________
Which vertices are degree 2 _____________
|
| A | B | C | D | E |
|
| A |
|
|
|
|
|
|
| B |
|
|
|
|
|
|
| C |
|
|
|
|
|
|
| D |
|
|
|
|
|
|
| E |
|
|
|
|
|
|
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
