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.
I don't think he was serious with that solution
My hero
Oh boy, needles to say, hardcoding is not a great idea.
Would you have enough 'dots' (RAM, patienсe etc) if cat can jump over 100 (or may be 1e+100) characters ?
Oh! I like this!!
This is the most thorough solution to this problem.
There's no mention that negative index should be handled. In fact the fact that you can use negative index in Python is because it's a sugar: in most other languages the valid indices are always from
0
tolen(string) - 1
.Needs Random Tests.
This comment is hidden because it contains spoiler information about the solution
Approved
This comment is hidden because it contains spoiler information about the solution
Kotlin translation is ready!
https://www.codewars.com/kumite/5bac48e32ddd484f3100014f?sel=5bac48e32ddd484f3100014f
I don't think I understand what you're getting at.
The random tests are present and they generate Assert.AreEqual() statements that are equivalent to the JS ones.
Perhaps you are referring to each of the random test cases not being listed individually in the test runner output?
What do you even mean by 'real' C# code? I'm new to codewars and more than happy to learn if the criticism is constructive, but this isn't a constructive or sufficiently informative comment.
What happened to your random tests?
You cannot translate languages "one-to-one" :/
Could you please change your tests for the better please? :)
You know, more like 'real' C# code? :)
This comment is hidden because it contains spoiler information about the solution
Loading more items...