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.
Was it specified somewhere in the description that the function was supposed to handle "more than 2 arguments"?..
No "big deal", but it was still a "surprise" at the moment of submitting the test, as:
-The description doesn't seem to explicitly mention that fact
-Worse: ALL examples in the description only use 2 arguments
-ALL the "Sample tests" only test for 2 arguments
Then only when submitting, we get the "surprise" Error message, about the function being expected to handle an arbitrary number of arguments...
Again, it just takes -at most- 1 or 2 extra lines to adapt the code, so a priori "no big deal" (so I'm not reporting this as an "issue"); but I think this "requirement" should be mentioned in the Description...
This comment is hidden because it contains spoiler information about the solution
seq = [['"&';""&';"', ']']]
value = ']'
True should equal False
I don't understand. The sequence contains the ']' character, and I'm correctly identifying it. Why does the test case say this should be false?
I am not sure what the problem exactly wants.
This is what I console.log() -ed
arr => two,six,five,seven,three,nine ..//.. value => three
and it returned [Should not find 'three']
There was also [not find element on 1st level] which I do not get at all. Does this mean I should not be looking for the value on the 1st level?
Thanks!
Please mark your post as having spoiler content next time.
This comment is hidden because it contains spoiler information about the solution
yes in JS
specify language; i guess it;s js, isn't it?
I have tested the same logic in dev tools console and it is working correctly.
Click here to get free honour points.
29 tests are passing only 1 test is failing. but this seems to return true. Is this the issue in kata itself?
The below test is failing. I am wondering why. As my logic is returing true for the same.
locate([[[[0],[[1],[[2],[[3],[[4],[[5],[[6],[[7],[[8],[[9],[[10],[[11],[[12],[[13],[[14],0.5577540242354748]]]]]]]]]]]]]]]]],0.5577540242354748)
got it ... THANKS!
Print the input values, see why.
This comment is hidden because it contains spoiler information about the solution
It is probably because some of the test cases are automatically generated
Loading more items...