Longest sequence count and sequence to be returned We need to print the longest sequence of nos. Input = [2,3,4,5,8,0] Output= 3,[2,3,4,5]