LeetCode

Paint Fence

Click here for an explanation.