Build an NxN Tic Tac Toe game where the board size is configurable and winning lines are generated automatically for any board size.
Asked in frontend interviews at Google, Microsoft and Atlassian