InterviewBit Problems   Points on the Straight Line : Solved