Capital One interview question

building minesweeper