Problem 1619 · Easy

Mean of Array After Removing Some Elements

Remove the smallest and largest slice of values, then average what remains. The visual highlights the trimmed ends of the sorted array and the middle that gets averaged.

Open the interactive visualisation