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.
Edit: Nevermind, I missed the part where I return the first string if equal and shifted my array.... works now (DERP)
Added the suggested tests to 10 (more or less) of the available languages, I'll finish adding them some other time.
That's not php, I mean Spiro's code.
Your code is wrong, it's counting
a
as 0,b
as 1, etc.Yeah, I noticed the random tests had some errors. I manually added up the expected and it wasnt higher than my actual....
My bad
No very helpful.... I submitted a few times and it passed finally... Don't see my mistake and 'Yes' isnt very condusive.
Yes.
Your goal in this kata is to implement a difference function
I mean...
This comment is hidden because it contains spoiler information about the solution
If the string is empty, the result should be empty array too.
This comment is hidden because it contains spoiler information about the solution