Problem 2397 · Medium

Maximum Rows Covered by Columns

Try every choice of columns as a bitmask and count the rows whose 1s all fall inside the choice.

Open the interactive visualisation