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.
thank you very much. I finally figured it out
This comment is hidden because it contains spoiler information about the solution
It is a non capturing group, so you can group a set of characters and optionalise them. https://www.stefanjudis.com/today-i-learned/non-capturing-groups-in-regular-expressions/
This comment is hidden because it contains spoiler information about the solution
that doesn't change anything
This comment is hidden because it contains spoiler information about the solution
It's a magic))
Exactly.
No.
To OP,
Yes.
That makes sense. Thanks for the reply!
'test' is generally given by the author so you can edit the cases with examples you want to test (the lower right block of code can be edited if you want to test your own examples)
'attempt' checks your code against basic tests (usually with edge cases) and random tests (to ensure you didn't use only if-else statements to satisfy basic test)
this is how it usually works in most katas
so check your algo if it doesn't pass random tests.
Yeah that's what I get too. I passed all the test but when I "Attempt" my solution it fails. Not sure what's goint on with that. It shouldn't be allowed to pass all the "test", and then fail the "Attempt". That doesn't even make sense. I guess I have to go back to the drawing board. My algorithm is wrong.
Closing then.
you can just copy the name of this kata and searchh it in google plenty of explanation
Loading more items...