1.

Which data structure is used for implementing a LIFO branch and bound strategy?(a) stack(b) queue(c) array(d) linked listThe question was asked in examination.I need to ask this question from Graph Search in chapter Graph Search of Data Structures & Algorithms II

Answer»

Correct choice is (a) STACK

To explain: Stack is the DATA structure is used for implementing LIFO branch and bound strategy. This leads to depth first search as every branch is EXPLORED until a LEAF node is discovered.



Discussion

No Comment Found

Related InterviewSolutions