LeetCode

Paint House

Click here for an explanation.