You are given an array coordinates where coordinates[i] = [x, y] is a point in the plane. Return true if all of the points lie on one straight line, and false otherwise.
You are given an array coordinates where coordinates[i] = [x, y] is a point in the plane. Return true if all of the points lie on one straight line, and false otherwise.