Available question text
Given m houses (some already painted and cannot be repainted) and n colors with painting costs, paint the remaining houses to produce exactly target contiguous color groups (neighborhoods) while minimizing total cost — a dynamic-programming state-space problem over position, chosen color, and neighborhood count (return -1 if impossible).
Related questions
Continue with questions that share topics or the same question type.
- House Robber III
Coding
- Paint House
Coding
- Paint House II
Coding
- Paint House IV
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
LinkedIn
Leetcode 1473. Paint House III
Reported Aug 26, 2025 · 1 source report
SENIOR
Source snapshot: Nov 12, 2026
View source