
1 experience
Difficulty
Outcome
Experience
Showing 1 of 1 experience
Nov 17, 2025
Given an array of positive integers representing side lengths, find the maximum perimeter of a triangle that can be formed using three of these lengths. Return -1 if no valid trian