← Intuit questions

Count empty cells after row and column operations

Filed under Intuit

Given an initially empty N x N matrix and k operations specifying a row r and column c, each operation fills row r and column c with 'X'. After each operation, output the total number of remaining…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Intuit questions

Collected from public candidate posts and coding forums. Updated Nov 2026.