← Amazon questions

Paint House

Filed under Amazon

There is a row of n houses, each house can be painted with one of three colors: red, blue, or green. The cost of painting each house with a certain color is different. You have to paint all the houses…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.