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.
Parameters in the C++ version of the function
compare
are missingstd
qualifiers.bool compare(string s1, string s2) { ... }
vs.bool compare(std::string s1, std::string s2) { ... }
I do think that there aren't enough test cases.
I used your solution to check the tests if you dont mind, Unnamed, and thanks again.
Yes, you're right, I just fixed this. Thank you for pointing out this issue.
This comment is hidden because it contains spoiler information about the solution
The input will be always valid, I forgot to mention it in the description :)
Yes, unfortunately I noticed it just after releasing this kata :(
I am trying to solve this kata in JavaScript and i got this error: "It must return 1 for a sequence missing the first element - Expected: 1, instead got: 0". What exactly is meant as the first element?
I'm not sure if this kata should be marked as 8kyu, this is definitely 7kyu or up :)
It would be really nice if you added some test cases :)
Thanks for your support, and, if you wouldn't mind, I think that some random tests would be really great :)