Given an array of integers, return the difference of the positions of the first and the last occurrence of the largest element. You may also assume that the given array contains at least one element.