📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

Which search expands the node with the lowest path cost g(n) first?

A. Greedy best-first search
B. Depth-first search
C. Uniform-cost search ✅
D. Breadth-first search

Correct Answer: C. Uniform-cost search

Explanation

Uniform-cost search orders the frontier by path cost, like Dijkstra's algorithm, and is optimal when step costs are positive.