Redgate Software interview question

Solve a mine sweeper problem