Available question text
Given non-overlapping intervals of white tiles on a number line and a fixed-length carpet, place the carpet to maximize the total number of covered unit tiles. This reduces to finding the max covered length of intervals under a fixed-length window — typically solved by sorting intervals and using two pointers with prefix sums or binary search to handle full and partial interval coverage.
Related questions
Continue with questions that share topics or the same question type.
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
No company association
Leetcode 2271. Maximum White Tiles Covered by a Carpet
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source