What is the main purpose of Cycle detection in trees graphs?
Answer options
- A. Visit hierarchical nodes without revisiting parents
- B. Explore graph nodes by increasing distance
- C. Explore one graph branch before backtracking
- D. Identify a path returning to an active node