New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
21.解数独问题可以做优化 #2392
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
数独由于是个规则矩阵,所以可以使用/%来实现降维,并且因为降成一维了,我们就可以使用startIndex来实现剪枝(之前填写过的肯定有数字就不需要进循环了)
以下是swift的代码
The text was updated successfully, but these errors were encountered: