← Questions

Paint house

0
ElevenLabsCodingLast asked Sep 2026

For n days you buy one shirt a day in blue, green or red, and each color's price changes by day. You may not buy the same color two days in a row. Return the lowest total cost.

Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding