News

* You are given an array nums of n integers, where n is even. * The task is to: * 1. Repeatedly remove the smallest (minElement) and largest (maxElement) elements from the array. * 2. Add the average ...