Problem 3858 · Medium
Clear bits from the top down whenever every row still has a value that fits inside the smaller mask.
Open the interactive visualisation