You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Solution: By sorting the triangle, we take check all consecutive elements. Why consecutive? Beause if take the last element as a constant and we search for the other two, if there's a * couple j, k that verifies the inequality A[i]<A[k]+A[j] where k<i && j<i then i-1 and i-2 also verify the inequality.