Given an array
pointswherepoints[i] = [xi, yi]represents a point on the X-Y plane, returntrueif these points are a boomerang.A boomerang is a set of three points that are all distinct and not in a straight line.
1 | class Solution { |
Given an array
pointswherepoints[i] = [xi, yi]represents a point on the X-Y plane, returntrueif these points are a boomerang.A boomerang is a set of three points that are all distinct and not in a straight line.
1 | class Solution { |