### Array Consecutive Element Counter

##### Given an array A the span S[i] of A[j] is the maximum number of consecutive elements A[j] immediately A[i] and such that A[j] <= A[j+1]

Source Code:

Github: ArrayConsecutiveFinder.java

**Output:**

Array : 6, 3, 4, 5, 24, Span : 1, 1, 2, 3, 4,