3. |
(a) |
Differentiate between cycle and acyclic in graph data structure including its diagram example.
|
|
|
Answer:
|
||
|
|
|
|
|
|
|
|
|
(b) |
Identify TWO (2) main types of graphs data structures together with its illustration as example.
|
|
|
Answer:
|
||
|
|
|
|
|
|
|
|
|
(c) |
Figure 3
|
|
|
|
Based on the above Figure 3, calculate the length of path from A to F.
|