Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 794. Valid Tic-Tac-Toe State
Determine if a 3x3 Tic-Tac-Toe board is reachable under normal play by checking counts of X and O and detecting winning lines, ensuring any win(s) are consistent with turn order (X goes first) and that no moves occur after the game should have ended.
Asked at:
Microsoft
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Mid September, 2025
Microsoft
Mid-level
Separate the logic to validate a win state into its own helper function. Makes it cleaner.
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.