One of the test case sis showing TLE. https://ide.codingblocks.com/s/672127

hi @riagoel3999 pass board by ref in isSafe func