Regarding implementation of Depth First Search using stacks, what is the maximum distance between two nodes present in the stack? (considering

Stasenndb

New member
Regarding implementation of Depth First Search using stacks, what is the maximum distance between two nodes present in the stack? (considering each edge length 1)
A. Can be anything
B. 0
C. At most 1
D. Insufficient Information
 

Tìm kiếm

Back
Top