Maximum area rectangle of ones with column swaps
Filed under Directi
The question
Given a binary matrix where you are allowed to swap any number of columns, find the maximum area of a rectangle containing all ones.
No write-up yet. Related questions below have one.
Related Directi questions
Collected from public candidate posts and coding forums. Updated Nov 2026.