CSE422 Midterm Spring 2022
CSE422 Midterm Spring 2022
2. CO2 a) Introduce/define the four criteria that we use to compare search techniques. 2
b) Analyze the complexity, completeness and optimality for the following search 6
techniques. Write the space and time complexity, whether the search technique is
complete or not, and whether it is optimal or not. Give reasoning for your answer.
i) Depth-First Search
ii) Iterative Deepening Depth-First Search
c) Introduce a scenario where breadth-first search may be suboptimal. 2
3. CO3
Assess which node will be visited in the following map coloring example if
i) Degree heuristic is used. Explain your answer. 2.5
ii) According to Least constraining value heuristic, which color will be 2.5
chosen for node B in the given graph? Explain your answer.