Available question text
Given a binary m x n matrix whose columns can be permuted arbitrarily, find the maximum area of an all-ones submatrix achievable after optimal column rearrangement. The core challenge is to use per-column consecutive-one heights (by row) and order columns to maximize width × minimum height for each row.
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 1727. Largest Submatrix With Rearrangements
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source