📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What is the main advantage of A* search over greedy best-first search?

A. A* always uses less memory
B. A* never uses a heuristic
C. A* balances cost so far with estimated remaining cost and is optimal with an admissible heuristic ✅
D. A* expands nodes at random

Correct Answer: C. A* balances cost so far with estimated remaining cost and is optimal with an admissible heuristic

Explanation

Greedy search ignores the cost already paid and can be misled; A* combines g(n) and h(n) and is optimal when h is admissible.