We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
这道题有两个地方不好想,一个是offset,一个是n/2。 1.为什么就一定是n/2,想不明白? 2.为什么是<n-offset? 其实可以用数学思想:"由特殊到一般"来想,举个简单的例子就可以明白了。 假如n就等于4,这样一套,这些索引就可以确定了。
还有,为什么i代表行,j代表列,找一个二维数组遍历一下就知道了。
还有,这道题有个隐藏的,就是对奇数的处理。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这道题有两个地方不好想,一个是offset,一个是n/2。
1.为什么就一定是n/2,想不明白?
2.为什么是<n-offset?
其实可以用数学思想:"由特殊到一般"来想,举个简单的例子就可以明白了。
假如n就等于4,这样一套,这些索引就可以确定了。
还有,为什么i代表行,j代表列,找一个二维数组遍历一下就知道了。
还有,这道题有个隐藏的,就是对奇数的处理。
The text was updated successfully, but these errors were encountered: