You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public double largestTriangleArea(int[][] points) {
double res = 0;
for (int i = 0; i < points.length - 2; i++) {
for (int j = 0; j < points.length - 1; j++) {
for (int k = 0; k < points.length; k++) {
float value = points[i][0]*points[j][1]+points[j][0]*points[k][1]+points[k][0]*points[i][1]-points[j][0]*points[i][1]-points[j][1]*points[k][0]-points[k][1]*points[i][0];