Duolingo Interview Question

Longest path in array.