Linear-time algorithm for solving a set of inequalites
for this algorithm it's enough to check sum of two smallest element is bigger than the maximum element.

We find Min1, Min2, Max.

if Min1 + Min2 &lt; Max there is no. O(n)
else all of them is true.