search algorithm computer science Best-first search Explores a graph by expanding the most promising node chosen based on a rule