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.
Haskell translation
really like this one. Had to add it to collection of my favourite.
Thanks sensei of the kata.
I don't get what the issue is here. The
n
is at index 1 in the first string (the longest in your example) and in the index 0 of the second one. What do you mean with what your wrote?Where do you see that, in which language?
You are wrong, because you can't reorder the letters:
With that definition it means
not
andtest
can have some other letters in the middle like in this casea
in the second string orher
in the first one.'notatest' should equal 'nottest'
This is wrong, since:
"A subsequence is different from a substring. The terms of a subsequence need not be consecutive terms of the original sequence."
Since it does not have to be in consecutive terms, why is
a
excluded fromanothertest
andnotatest
? They both only have onea
.Correct me if I'm wrong, I'm passing all the other random tests and basic tests, except for this one case.
What is the language?
And also please provide your code.
ok thanks
Your code is wrong, not a kata issue, select Node v8 to see which test your code is failing. Read the error message and add some console.log to help you debug it. The reason it didn't fail somewhere else is you didn't test it there with the same input that makes your code fail here.
This comment is hidden because it contains spoiler information about the solution
Why is my code not working? It says that it is not compiling with the requested results, but testing in the IDE is giving the result as reported. Could someone look at my code and clear this doubt of mine?
Well yes, it says what the 2nd argument means, and that its orientation goes from top-left. It doesn't actually say that it will always be (0, 0), otherwise why even pass this argument?
[Python]
The kata says: "
the initial position of the selection cursor (top-left is (0,0));
"Random cases has cases with init position (0, 4)
Fixed.
Sadly I can't edit the test cases for Python and JS since the kata is so old...
Loading more items...