For example given the array 1 2 3 4 5 7 8 9 10 the program should output Longest sequence of consecutive numbers 12345

Showing the single result

Showing the single result