โ† Zomentum questions

Place X in matrix rows and columns for given tasks

Filed under Zomentum

The question

Given an n*n empty matrix and K tasks, each task specifies a cell (i,j) to place 'X' in the entire i-th row and j-th column. Print the count of empty cells after each task.

No write-up yet. Related questions below have one.

Related Zomentum questions

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