Q5
What is the primary difference between BFS and DFS?
A.
BFS is used for weighted graphs; DFS is not.
B.
BFS explores nodes level by level; DFS explores nodes deeply first.
AnswerC.
BFS uses recursion, DFS does not.
D.
BFS is used for weighted graphs; DFS is not.
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board