Hustle interview question

State-based "given [x] 2d array input and certain rules about modifying the input, product [x + 1] input" question