Google Interview Question

Longest increasing path in 2d array