Enter an array a [i] of n elements.
k is an integer.
Find the longest consecutive sequence in the array a [i] is equal to the average value k and the first value of the sequence that is how much?
The one you have data structures or algorithms what helps with me!