โ† HSBC questions
CodingEasy-Moderate

Maximum perimeter of polygon from array

Filed under HSBC

Given an array of side lengths, find the maximum perimeter of a polygon with at least 3 sides. A polygon is valid if its longest side is strictly less than the sum of all other sides.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related HSBC questions

Collected from public candidate posts and coding forums. Updated Nov 2026.