Question: Which traversal method is typically used for searching in a tree structure?
Options:
Correct Answer: Both BFS and DFS
Solution:
Both BFS and DFS can be used for searching in a tree structure, depending on the specific requirements of the search (e.g., shortest path vs. exhaustive search).