0
/ 1.0
We'll say that an element in an array is "alone" if there are values before and after it, and those values are different from it. Return...
We'll say that an element in an array is "alone" if there are values before and after it, and those values are different from it. Return a version of the given array where every instance of the given value which is alone is replaced by whichever value to its left or right is larger.
Your feedback will appear here when you check your answer.