Topic: Dynamic Programming Problem / Level: beginner

Problem: Compute the minimum cost to paint n houses where no two adjacent houses can have the same color.

Run the code to see the output here...