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.
commentStrings
should be escaped before concatenatedFor example,
{"A", "-", "Z"}
would lead to"[A-Z]"
in the regexThis comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It's been a while so you've probably learned this, but you can change the tests.
It doesn't fail the test case so it's technically fine 🤷
Real ninja :D
This comment is hidden because it contains spoiler information about the solution
Could you explain?
This is too complex and so much better than mine
The spaces are quite easy to get around.
HINT: You should probably make your function space independent, as in working the same regardless of spacing
Great use of the Turbofish !
This happends at least in Rust.
Yes it's pretty clear.
Somehow I thought one test case was wrong and asked the last one, but it seems I'm wrong and the test is right.
Sorry about that
In the description:
"Your task is to return the first longest string consisting of k consecutive strings taken in the array."
seems to be clear:-) At least it seems have been for lots of people.
Moreover the example given removes ambiguity if there was one:
It really seems not everyone means the same thing by first
Loading more items...