Search⌘ K
AI Features

Identify the Largest Outlier in an Array

Identify the Largest Outlier in an Array gives an integer array where all but two values are special: one is their sum. Return the largest outlier that is neither special nor the sum.

Statement

You are given an integer array nums with n elements, where exactly n - 2 ...