Topic: Language Problem / Level: advanced

Problem: Write a program to find the longest sequence of consecutive elements in a sorted array.

Run the code to see the output here...