Problem 1473 · Hard

Paint House III

Track the cheapest painting for each neighbourhood count and last colour, one house at a time.

Open the interactive visualisation