Problem 3371 · Medium

Identify the Largest Outlier in an Array

Any element could be the outlier; the other elements must sum to twice a value that is also among them.

Open the interactive visualisation