InterviewSolution
Saved Bookmarks
| 1. |
Which data structure is used for implementing a FIFO branch and bound strategy?(a) stack(b) queue(c) array(d) linked listI got this question in an online quiz.This intriguing question comes from Graph Search topic in section Graph Search of Data Structures & Algorithms II |
|
Answer» CORRECT OPTION is (b) queue For explanation: Queue is the data structure is used for implementing FIFO branch and bound strategy. This leads to breadth first search as every branch at DEPTH is explored first before moving to the nodes at greater depth. |
|