What is the mean of consecutive elements here? Doesn’t it mean all the elements should match: a[i+1] -a[i] = 1?

# What is the mean of consecutive elements here

**ketankr9**#2

No, here it means that if the elements of the array are sorted then the numbers would form a consecutive series.