Problem 1893 · Easy

Check if All the Integers in a Range Are Covered

Check whether every integer in an inclusive target range is covered by at least one of the given intervals. The visual draws the intervals as stacked bars on a number line and highlights any uncovered gap.

Open the interactive visualisation