LeetCode

Valid Tic-Tac-Toe State

Click here for an explanation.