Google interview question

Build Windows Minesweeper. Data structure, method to check state etc.