1/41
Loading...
📋What is Inspection Validation?
Two inspectors A and B alternately inspect on a 3x3 board. Let's determine if this record is a 'valid completion state'!
🔒
Loading...
Two inspectors A and B alternately inspect on a 3x3 board. Let's determine if this record is a 'valid completion state'!
A factory has a 3x3 inspection station array. Inspector A (red sticker) starts first, then Inspector B (blue sticker) alternates. Completing all 3 in a line (row/column/diagonal) means 'Line Inspection Complete'. However, if both inspectors complete lines simultaneously, the record is invalid (impossible since they alternate). Determine if the given inspection record is a valid completion state.
AAABB....
valid
A completed first row line (A=3, B=2, countA==countB+1) → valid
ABAABABBA
invalid
Both A and B completed lines (col2: A, col1: B) → impossible → invalid
ABABABABA
valid
All 9 cells filled, no line → valid draw