Thanksgiving Sale: Use Coupon Code THANKS25 to Get Extra 25% Off.
covered of size 101 with False (since points are from 1 to 100).nums, iterate from starti to endi:
a. For each point j in the range [starti, endi], set covered[j] to True.True values in the covered array.