-
-
Notifications
You must be signed in to change notification settings - Fork 36.2k
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
Sequence of numbers in a set #2797
Comments
I agree that order of numbers in answer shouldn't matter. I'll try to fix this issue. |
This was referenced Dec 23, 2020
This was referenced Mar 17, 2021
This was referenced Mar 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Challenge http://freecodecamp.com/challenges/bonfire-symmetric-difference has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
The deepEqual test for the array needs the numbers in the same sequence, but for a set of numbers, the sequence doesn't matter. My solution was getting the right answer in the wrong order, so it didn't count. In the end I had to hack my solution so that it changed the order of the numbers, which is extremly bad style....
Maybe make more than one deepEqual test one for every possible permutation of the numbers and it is correct if one of the deepEqual tests is correct?
The text was updated successfully, but these errors were encountered: