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.
Not a kata issue. You should
return
the result instead ofprinting
it. Read this for more infoAlso, your code (excluding the debugging section) will have leading
-
expected:<[]2-1-4-7-48-3-648>
is the correct answer, which is2-1-4-7-48-3-648
whislt your code returns--2-1-4-7-48-3-648
(2 leading dashes).The
[]
are just there to indicate the difference in your answer and the correct one.Read this for more info
Approved
python new test framework is required. updated in this fork
thanks it makes more sense now
This comment is hidden because it contains spoiler information about the solution
i still don't understand how the map function knows what to do with the parseFloat function here
No, and there are only 3 weird tests in PHP.
There is an issue in the 4th test of the wierd tests.
Why am I getting just with EdgeCases Test two this Error and every other Test does work: expected:<[]2-1-4-7-48-3-648> but was:<[--]2-1-4-7-48-3-648>. Cant understand where the difference to the other tests is and why my code fails on this one. I even tried to replace those Symbols in the beginning before the 2 with .replace() and substring but they do not delete it. Im using Java.
Nice quick Kata but the JavaScript version requires the string "NaN" to be returned if a non-number input is given, but the instructions say to return an empty value.
Either the instructions need to be clarified to adhere to the kata test, or the test should be tweaked to adhere to the instructions.
Great kata but i didn't understand the logic behind returing 'None' instead of None. :(
It's not the correct way to find the greatest common factor of the array. Think math, and if you lack it, search online, that's a very common problem.
This comment is hidden because it contains spoiler information about the solution
Good task, i liked it.
Loading more items...