MathJax


Saturday, September 10, 2022

2022-155

The Breadth First Search (BFS) algorithm has been implemented using the queue. Which of the following is a best possible order of visiting the nodes in the graph below?


A. ABCDEF

B. ABCFDE

C. ABCFED 

D. EDFCBA

E. None of the above

Original idea by: Muhammad Idrees

No comments:

Post a Comment

2025-310

Which of the following alternatives contains a graph with only one Strongly Connected Component (SCC)?  a) b) c)  d)   e) None of the above ...