Toptal interview question

Minesweeper solver and react form error/loading states