← ALL NOTES
Array

812. Largest Triangle Area

Given a set of points, find the largest triangle area formed by any three of them. With few points (≤50), you just try every triple, and the per-triple area comes straight from the shoelace formula…

Loading…