Modify boolean matrix for rows and columns of ones
Filed under Boomerang
The question
Given a boolean matrix A, modify it such that if an element A[i,j] is 1, the entire i-th row and j-th column become 1.
No write-up yet. Related questions below have one.
Related Boomerang questions
Collected from public candidate posts and coding forums. Updated Nov 2026.