Given an array of integers, give the largest n <= size / 2 so that the sum of the first n elements equals the sum of the last n elements. If there is no way for this to occur, return 0.

Complete the following file:


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