Day 8 of 31-Day May LeetCode Challenge

Aanchal Patial
1 min readMay 8, 2020

--

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.

--

--

Aanchal Patial

We never really grow up, we only learn how to act in public