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.
Maybe you should check arr for null value... ;-)
You simply justify yourself
but I get the Timeout error....
I got the same error! Were you able to pass the last test?
I think this is not a real problem (this is a kata for beginners) and I don't think it would be pertinent to do what you are suggesting (though I understand your point of view). It would be really tricky and I'm not sure it's feasible in clean way.
This comment is hidden because it contains spoiler information about the solution
Nice kata with datetime, useful
its calculator for 8ky) bt nice for fermer
kata nice, bt very easy for me, not 7kyu bt 8kyu.
Same than HEXecutive post , as not being replied at this moment , when I look at the alternative solutions , it seems to me that your tests consider C en m being only at first and last positions : not seen in the rules ?
8ky but norm
because that is the maximum we can get from that array
why in this adjacentElementsProduct([9, 5, 10, 2, 24, -1, -48]); ==> return 50
5 * 10 ??????
This comment is hidden because it contains spoiler information about the solution
nice kata, trouble with iterator
Traceback (most recent call last):
File "/runner/frameworks/python/cw-2.py", line 111, in wrapper
func()
File "main.py", line 11, in tests
Test.assert_equals(next_item(iter(range(1, 30000)), 12), 13)
File "/home/codewarrior/solution.py", line 4, in next_item
return xs[xs.index(item)+1]
AttributeError: 'range_iterator' object has no attribute 'index'
Loading more items...