最小元素和最大元素的最小平均值
本文由 简悦 SimpRead 转码, 原文地址 leetcode.cn 最小元素和最大元素的最小平均值 - 你有一个初始为空的浮点数数组 averages。 You have an array of floating point numbers averages which is initially empty. You are given an array nums of n integers where n is even. You repeat the following procedure n / 2 times: * Remove the smallest element, minElement,…