0
/ 90
Consider the leftmost and righmost appearances of some value in an array. We'll say that the span is the number of elements between the...
Consider the leftmost and righmost appearances of some value in an array. We'll say that the span is the number of elements between the two, inclusive. A single value has a span of 1. Return the length of the largest span found in the given array. (Efficiency is not a priority.)
Your feedback will appear here when you check your answer.