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
这个问题的代码是生成全排列的代码,并不是生成可重集的排列的代码。并且pdf中给出的条件有一个笔误,条件应该是if(i==0 || S[i] != S[i-1]),而不是if(i==0 && S[i] != S[i-1])。在你的代码上我的实现:https://gist.github.com/ningyuwhut/8594296
The text was updated successfully, but these errors were encountered:
好,我待会儿看一下:)
Sorry, something went wrong.
No branches or pull requests
这个问题的代码是生成全排列的代码,并不是生成可重集的排列的代码。并且pdf中给出的条件有一个笔误,条件应该是if(i==0 || S[i] != S[i-1]),而不是if(i==0 && S[i] != S[i-1])。在你的代码上我的实现:https://gist.github.com/ningyuwhut/8594296
The text was updated successfully, but these errors were encountered: