Question d’entretien chez Yelp

Find maximum(minimum) cost path in matrix.