Find Maximum Area of a Triangle

Given an array of points on a 2D plane, where each point is [x, y], return the maximum area of any triangle formed by three of the points. The area is returned as a floating point number. If no three points are non-collinear, return 0.

The area of a triangle with vertices (x1, y1), (x2, y2), and (x3, y3) is half the absolute value of the shoelace cross product:

area = 0.5 * |x1*(y2 - y3) + x2*(y3 - y1) + x3*(y1 - y2)|

Examples
Input: [[0,0],[2,0],[0,3],[1,1]]
Output: 3
Hints

Find Maximum Area of a Triangle

Given an array of points on a 2D plane, where each point is `[x, y]`, return the maximum area of any triangle formed by three of the points. The area is returned as a floating point number. If no three points are non-collinear, return `0`.