Indeed Interview Question

Find longest run (i.e 1 2 3 4 ) in an array.