Problem 2971 · Medium

Find Polygon With the Largest Perimeter

Sort the sides and test from the largest side down; the first side that fits a strict polygon test gives the largest perimeter.

Open the interactive visualisation