Applied Materials interview question

Longest consecutive sequence in an array of integers