Mastercard interview question

Compute the five shortest routes in a graph.