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.
Good description now. Thank you for adjusting 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 solution does not comply with the assignment: ==> without using strings <==
"Description:
Reverse the integer without using strings or lists
reverse(123456) -> 654321
"