Check If It Is a Straight Line

Опубликовано: 15 Декабрь 2024
на канале: PyTech Vision
723
12

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.

This question is very commonly asked in Programming Interview.
#LeetCode

Author : Shahrukh Khan
Links
Blog : https://pytech-solution.blogspot.com/