Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Thank you! I got used to the fact that the minimum and maximum numbers are in the array itself. I should have read the condition more carefully.
Thanks again!
The instructions say: "You are given an array containing all integers from 1 to N, except one that is missing."
In this exemple, N=6 (it is the size of the input array) so the missing number is indeed 6.
Third test in attempt - [2,3,1,3,4,5] "pending" [6,3] ???
How can that be? Where does 6 come from?
Your solution returns wrong answer for strings like
"1 2 3"
.Your solution has a bug, it's not a kata issue.
11 should equal 'NaN'
123 should equal 'NaN'
there is assertion errors for python
Your kata has already been sent back to draft, closing...
CS:
No random tests
mocha + chai
should be usedTest.expect
should be abortedJS:
No random tests
mocha + chai
should be usedTest.expect
should be abortedNo random tests in Ruby
Yeah, those were my thoughts exactly.
Fixed by one of the menders ^^
Fixed by one of the menders ^^
Fixed by one of the menders ^^
Fixed by one of the menders ^^
You don't "roll" the wheel .... you SPIN it :-)
Loading more items...