Vanya and Triangles
Given `n` distinct points on the plane, connect every pair. Return the number of triples of points that form a non-degenerate triangle. A triple is degenerate exactly when its three points are collinear.
Given `n` distinct points on the plane, connect every pair. Return the number of triples of points that form a non-degenerate triangle. A triple is degenerate exactly when its three points are collinear.