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.

Complete the following file:

prog.cpp

#include <iostream> using namespace std; int positionDifferenceFirstLastLargest(const int arr[], int arr_size) {
}