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
On exercise of 15.3 GeneratePermutation page 230 the solution code and EPIJudge are reversing the swap in the for loop.
GeneratePermutation
EPIJudge/epi_judge_python_solutions/permutations.py
Line 17 in b736406
I managed to pass the tests without that second swap by generating this list instead:
[[0, 1, 2], [0, 2, 1], [2, 0, 1], [2, 1, 0], [0, 1, 2], [0, 2, 1]]
There must be an issue in the functions checking the list content as there are duplicated results.
Delete the second swap and see all the tests passing.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What?
On exercise of 15.3
GeneratePermutation
page 230 the solution code and EPIJudge are reversing the swap in the for loop.EPIJudge/epi_judge_python_solutions/permutations.py
Line 17 in b736406
I managed to pass the tests without that second swap by generating this list instead:
[[0, 1, 2], [0, 2, 1], [2, 0, 1], [2, 1, 0], [0, 1, 2], [0, 2, 1]]
There must be an issue in the functions checking the list content as there are duplicated results.
How?
Delete the second swap and see all the tests passing.
The text was updated successfully, but these errors were encountered: