Leetcode 1232. Check If It Is a Straight Line | Hello Interview