Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2647. Color the Triangle Red
Given a triangular array of colored cells and a fixed painting operation that affects a cell and nearby cells, determine whether (and with how few moves or how many ways) you can make every cell red. The core challenge is handling interacting local moves across rows, typically solved by state-compressed DP or modeling the moves as linear equations/propagation on the triangular lattice.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.