-
https://leetcode.com/problems/largest-perimeter-triangle/
Given an array A of positive lengths, return the largest perimeter of a triangle with non-zero area, formed from 3 of these lengths.
If it is impossible to form any triangle of non-zero area, return 0.
'2020년 > 코테' 카테고리의 다른 글
[코테 연습] Compare Version Numbers (0) 2020.09.13 [코테 연습] Maximum Number of Coins You Can Get (0) 2020.09.09 [코테 연습] Relative Sort Array (0) 2020.09.09 [코테 연습] Sum of Root To Leaf Binary Numbers (0) 2020.09.09 [코테 연습] Largest Time for Given Digits Python (0) 2020.09.02