Paint House II

Preview

You are a renowned painter who is given a task to paint n houses in a row. This time, you have k colors available. The cost of painting each house with each color is different and given in a 2D array costs:

Sign in to read the full chapter.

Checking access…