Which data structure is used for implementing a LIFO branch and bound strategy?

Which data structure is used for implementing a LIFO branch and bound strategy?
A. stack
B. queue
C. array
D. linked list
 
Answer: a
Explanation: 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.
 

Tìm kiếm

Back
Top