Available question text
Given an m×n binary matrix and an integer numSelect, choose exactly numSelect columns to maximize the number of rows whose 1s are all contained within the selected columns (rows with no 1s are automatically covered). With m,n ≤ 12, this problem is typically solved by enumerating column subsets or using bitmask-based checks to count covered rows.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2397. Maximum Rows Covered by Columns
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source