AlgoMaster Logo

Paint House

costs=[[17,2,17],[16,16,5],[14,3,19]]
0 / 74
algomaster.io
Step:Paint every house red, blue, or green. Neighbors can never match. Minimize the total cost