Collinear Points

From GeeksforGeeks. Check if three points lie on same line. Solve the geometry problem "Collinear Points".

Examples
Input: [1,2,3]
Output: 0
Hints

Collinear Points

**From GeeksforGeeks.** Check if three points lie on same line. Solve the geometry problem "Collinear Points".