If we have given set of $n$ segments (or lengths of segments), how can we easily check if this set is forming polygon with $n$ sides.
Example
Let our set be $A$, $A = \{3, 6, 6\}, n = 3$
The answer here should be true, because we can arrange those segments to make triangle.
But the problem for me is when there are more segments.
So I tried to come with some statment, I started from triangle, it says: To form a triangle there shouldn't be side that is bigger than the sum of the other two sides, and I came to statement for more than 3 sides.
Is this correct: For any n-sided polygon, there shouldn't be side that is bigger than the sum of any two other sides.
Thanks in advance.