Leetcode 2280. Minimum Lines to Represent a Line Chart | Hello Interview