Uptech Studio interview question

Second interview included a live coding task to implement a Tic-Tac-Toe game