Graph and Heap Data Structure MCQs

Graph and Heap Data Structure MCQs Graph and Heap Data Structure MCQs What data structure is used for depth first traversal of a graph? (a) Queue (b) Stack (c) List (d) Tree Answer (b) Stack Graph traversal is different froma tree traversal, because: (a) Trees are not connected (b) Graphs may have loops (c) Trees … Read more