Google interview question

Longest increasing path in 2d array