In: Computer Science
Which of the following statements is/are TRUE? Select all that
apply.
A. a stack is a good data structure to use for a depth-first search
(DFS)
B. a stack is a good data structure to use for a breadth-first
search (BFS)
C. a queue is a good data structure to use for a depth-first search
(DFS)
D. a queue is a good data structure to use for a breadth-first
search (BFS)
E. a deque is a good data structure to use for a depth-first search
(DFS)
F. a deque is a good data structure to use for a breadth-first
search (BFS)