We know that to form a triangle the 3 sides should obey the triangle inequality . So is there any rule to be followed by the sides of $n$-sided convex polygon.
For Eg:-
$1,2,4$ cannot form a triangle so can we tell if we are given $n$ line segments can we make a $n$-sided convex polygon.


Solution 1:

The longest side must be shorter than the sum of the rest.