LC: 256. Paint House
https://leetcode.com/problems/paint-house
Input: costs = [[17,2,17],[16,16,5],[14,3,19]]
Output: 10
Explanation: Paint house 0 into blue, paint house 1 into green, paint house 2 into blue.
Minimum cost: 2 + 5 + 3 = 10.Input: costs = [[7,6,2]]
Output: 2Last updated