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 remaining value is their sum and the other is the outlier. Return the largest possible outlier.

Statement

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