LongestCoonsecutive done

have some problems with OJ