trim-mean-removes-exactly-5-percent-each-end

Status: IN

`trimMean` removes `len(arr) // 20` elements from both the low and high ends, which equals exactly 5% when `len(arr)` is a multiple of 20; silently trims fewer than 5% otherwise.

Source: entries/2026/06/06/mean-of-array-after-removing-some-elements-solution.md

JSON