Check If It Is a Straight Line
Check If It Is a Straight Line gives you an array of two-dimensional points and asks whether every point lies on one common line, including vertical or horizontal lines.
We'll cover the following...
We'll cover the following...
Statement
You are given an array, coordinates, where each element in coordinates[i]