Crown Sterling interview question

How can you improve the performance of your pathfinding program?