Question d’entretien chez Amazon

Make an A-star algorithm for a tree.