Vidyalelo
Data Structure · Q25

Graph Algorithms (DFS, BFS, Dijkstras, etc)

Programming · Data Structure · question 25

Q25

In the context of graph algorithms, what does a "cycle" refer to?

A.
A path that visits each node exactly once.
B.
A path that revisits the starting node.
Answer
C.
A path with exactly two nodes.
D.
A path that visits each node exactly once.

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board