dYdX interview question

Excel spreadsheet Tic tac toe