Solved! Leetcode 1232. Check If It Is a Straight Line

Solved! Leetcode 1232. Check If It Is a Straight Line
source: https://leetcode.com/problems/check-if-it-is-a-straight-line/description/ Check If It Is a Straight Line Table of ContentsCheck If It Is a Straight LineDescriptionExample 1:Example 2:Constraints:Solution Description You are given an array coordinates, coordinates[i] = [x, y], where [x, y] represents the coordinate of a point. Check if these points make a straight line in the XY plane. Example 1: Input: ...