Search
⌘K

Leetcode 1893. Check if All the Integers in a Range Are Covered

Given a list of inclusive integer intervals, determine whether the union of those intervals covers every integer in the target range [left, right]. Due to the small bounded domain (values ≤ 50), common approaches use interval merging or a boolean mark array to verify coverage.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.