Microsoft Interview Question

find the longest contiguous array