Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2209. Minimum White Tiles After Covering With Carpets
Given a binary string of tiles, place up to numCarpets fixed-length intervals (carpets may overlap) to cover tiles so as to minimize the number of uncovered '1' (white) tiles. This is an interval-covering optimization typically solved with DP over positions and remaining carpets (or greedy/DP with prefix sums to evaluate window coverage).
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.