Grid Game Maximum Steps
XAT 2025 · Quantitative Ability & Data Interpretation · Medium · Combinatorics
In a computer game, each move requires pressing a button. When the button is pressed for the first time, as a move, the computer randomly chooses a cell from a 4x4 grid of sixteen cells and puts an "X" mark on that cell. When the button is pressed subsequently, the computer randomly chooses a cell from the remaining unmarked cells and puts an "X" mark on that cell. This goes on till the end of the game. The game ends when either all the cells in any one row, or all the cells in any one column, are marked with "X".
What is the maximum possible number of times a player has to press the button to finish the game?
- A.
16
- B.
10
- C.
6
- D.
13
- E.
4
D
Explanation
We want to place as many 'X' marks as possible on a 4x4 grid without completing any full row or column. To avoid completing any row or column, each row must have at most 3 'X's, and each column must have at most 3 'X's. By placing 'X' on 12 non-diagonal cells (leaving 4 diagonal cells unmarked, 1 per row and column), every row has 3 'X's and every column has 3 'X's. No row or column is completed with 12 marks. The 13th mark must be placed on one of the remaining 4 empty cells, which immediately completes both a row and a column. Thus, the maximum number of moves required is 13.
Related Combinatorics questions
- #892Town Plan Shortest PathsCATQASET · 2QHard
- #949Friends and enemies in pairs set SCATQASET · 2QHard
- #950Total participants in tournament teamsCATQAMCQMedium
- #1028Chess competition games between boys and girlsCATQAMCQEasy
- #1037Sum of units digits in conditional permutationsCATQAMCQHard
- #1097Connecting Towns with Direct Telephone LinesCATQAMCQMedium
- #1268Network Paths CountCATQAMCQMedium
- #1286Distribution of balloons, pencils, and erasersCATQATITAMedium
Practise this under exam conditions
Sign in to solve it with a live timer, the on-screen CAT calculator, and streak and accuracy tracking across every question you attempt.
Solve in the workspace