Row/column flips and zero counts in a binary matrix
Filed under Nutanix
The question
Given an n x m binary matrix initially containing all 0s, process Q queries of four types: flip all elements in a specific row, flip all elements in a specific column, count the number of 0s in a given row, or count the number of 0s in a given column.
No write-up yet. Related questions below have one.
Related Nutanix questions
Collected from public candidate posts and coding forums. Updated Nov 2026.