3 ms·
You can also do this using standard Bellman-Ford or Floyd-Warshall if you set edge weights to be -log(exchange rate).
by jplewicke 16y ago
You can also do this using standard Bellman-Ford or Floyd-Warshall if you set edge weights to be -log(exchange rate).