CodePudding user response:
Relatively rough is using the search algorithm, but the efficiency is low, can use dijkstra or Floyd algorithmCodePudding user response:
Relatively rough is using the search algorithm, but the efficiency is low, can use dijkstra or Floyd algorithm