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.
@trashy_incel claims fixed for all languages, if not then please reraise.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Fixed for Python
Fixed for JS
C, C++, C#, Java, JS, Python, Ruby, TS.
That is to say: all of them.
From a quick skim of the tests they all have insufficient coverage as well.
I have an open JS fork which fixes both, and there's an open Python fork which fixes the test coverage but doesn't omit the empty list test.
Can you specify the language that has the issue, please? People can't read your mind, y'know.
Kata clearly says inputs are not empty, but there are empty input test cases.
Also, the desciption is not alligned with the test cases... I see solution that give back true for 0,0,2 are accepted..
it also gives true for 0,0,2
with the {} he defines an object actually, here the 1,2,3,4 will be actually a key.
since the length of the users can be more than 4, he has ot ensure that he is mapping to 4, even even the lenght is 5 or 1000.
for example
console.log( {'key1' : 'value' , 'key2':'value2' 3 : 'value3'} ['key2'] }
and [3] or ['key2'] work as well.
Someone cooked here
This comment is hidden because it contains spoiler information about the solution
I had the same problem, turns out I missed one of the blocking paths, E blocking H -> B...
I've just done it.
I'd like to state that this was not trivial and I was very close to give up.
Loading more items...