Find Polygon With the Largest Perimeter

<p>You are given an array of positive integers nums of length n.</p> <p>A polygon is a closed plane figure that has at least 3 sides. The longest side of a polygon is smaller than the sum of its other sides.</p> <p>Conversely, if you have k (k &gt;= 3) positive real numbers a1, a2, a3, &hellip;, ak where a1 &lt;= a2 &lt;= a3 &lt;= &hellip; &lt;= ak and a1 + a2 + a3 + &hellip; + ak-1 &gt; ak, then there always exists a polygon with k sides whose lengths are a1, a2, a3, &hellip;, ak.</p> <p>The perimeter of a polygon is the sum of the lengths of its sides.</p> <p><a href="https://medium.com/@17uec061/find-polygon-with-the-largest-perimeter-5338fdd4d85b"><strong>Read More</strong></a></p>