Validate 9x9 grid in one pass | Amazon Interview Question