Leetcode 812. Largest Triangle Area
Given up to 50 distinct 2D points, find the maximum area of any triangle formed by three of them; compute triangle area (e.g., via cross product/shoelace) for all triplets and return the largest value (within 1e-5).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Your account is free and you can post anonymously if you choose.