Rosetta Problems

Painting the Walls

https://leetcode.com/problems/painting-the-walls