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.
nice :)
LOL, why here all solutions are very similary)
This comment is hidden because it contains spoiler information about the solution
Good description now. Thank you for adjusting it.
Yes, you are right. i corrected it.
Hey.
I think you should correct the description or the tests.
The description states: "You should count numbers up to but not including n."
For n = 9, my initial solution generated [1, 3, 5, 7], not including 9. But that was flagged as an error by the tests.
Solution [1, 3, 5, 7, 9] does pass the test, but the solution includes 9.
Btw, nice kata.
With kind regards.
I cannot commit my solution.
One of the tests is:
Test.assert_equals(maxlen(5, 17), 5.666666666666667)
The solution is 5 and not 5.666666666666667. The shortest stick cannot grow to 5.666666.
The test should be
Test.assert_equals(maxlen(5, 17), 5)
It is kinda weird. The same comment was already given 10-11 months ago and is marked as solved. ???
Santa Claus changed it back to 5.666666666666667 ?
This kind of forbidding is stupid...
always the same problem: if a kata sensei doesn't want us to use something, it's up to him/her to find a way to forbid it. If not, there will be this type of side effects (and that's just fair! ;) )
This solution does not comply with the assignment: ==> without using strings <==
"Description:
Reverse the integer without using strings or lists
reverse(123456) -> 654321
"