- There will be n lines in the input, each line representing one row of the input board
- Each line will have n space seperated elements which can be either 1 or 0 or ?
- Cells containing 1/0 represent filled cells, and cells containing ? represent un-filled cells, which we need to fill with 1/0