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?
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.
got it ... THANKS!
Print the input values, see why.
It is probably because some of the test cases are automatically generated
Thanks! I did it
No, this is not the right way to flatten a list.
Try to do it by recursion.
I'm struggling a little bit to find a solution that works.
I'm using re.findall but I'm always failing some of the random cases because I'm only looking for single quotation marks and ignoring the double marks.
Is this the right approach or should I look at a different way to flatten the list?
Thanks and great kata!