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.
Awesome Kata. I have been loving these Simple Encryption Katas and can't wait to get to the last one.
One note for people coming to this kata, everytime you see <==>("against") in the description, it means to swap. I likely overthought this and others may not. Plenty of people have finished this without clarification but if there is anyone like me I hope this helps.
I think the wrong version was approved, because the function takes an
int
and the function should take an string I'm so sorry for the what has happend I will try to fix it.It might need to be unpublished I will try to fix what is wrong with the kata now.
Tried to contact the translator.
I thought I was screwing something up so I started writing everything out to the console. I was so confused on why 35 % 10 == 0 was supposed to return true. Thanks for clarifying
The C# version is almost always throwing an error every time when just returning false and running all tests. It appears to be some issue with the "Random Tests".
Random Tests: System.OutOfMemoryException : Out of memory
STDERR: Stack overflow in unmanaged: IP: 0x5d208c, fault addr: 0x7ff0b2bf9ff8
Code:
public class solution
{
public bool validate(string n)
{
return false;
}
}