Question d’entretien chez Google

Longest increasing path in 2d array