示例Ratiorg需要大小为4、5和7的雕像。我的代码和思想:function solution(statues) {
statues.sort(function(a, b) { //From what; i++) { //iterate through the array comparing the index to the o
下面是我所做的: function getAverageHeight() { let average_height = statues.length;
for (let i = 0; i < statues.length; i++) {let statue = statues[i];
total_hei