Skip to content

Conversation

@ozgurdemirel
Copy link

Sort the given array of side lengths in non-increasing order. This way, we try to use the longest sides first to maximize the perimeter.

Sort the given array of side lengths in non-increasing order. This way, we try to use the longest sides first to maximize the perimeter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant