Rosetta Problems

Minimum Lines to Represent a Line Chart

https://leetcode.com/problems/minimum-lines-to-represent-a-line-chart