Discuss the A* search algorithm. How does it work, and when is it particularly useful?
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Other
Overview: Explain how the A* search algorithm finds a lowest-cost path and when it is the right choice. Tests the evaluation function that combines path cost with a heuristic, the conditions that keep the result optimal, heuristic design for grids and maps, and memory limits.