0812. Largest Triangle Area
Last updated
Last updated
https://leetcode.com/problems/largest-triangle-area
Given an array of points on the X-Y plane points
where points[i] = [xi, yi]
, return the area of the largest triangle that can be formed by any three different points. Answers within 10-5
of the actual answer will be accepted.
Example 1:
Example 2:
Constraints:
3 <= points.length <= 50
-50 <= xi, yi <= 50
All the given points are unique.