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 think this kata would be better with another name like 'special palindrome' or 'ninja palindrome', given that it contains some exceptions, also as @parabola949 says, try to improve the description.
Thanks for creating this. However it is a duplicate of the nth fibonacci kata. You can add C# support to that kata as a translation.
The soloution from user bryjamus managed to pass. So test cases like "abca" are missing. Where first and last letter are the same but is still not a palindrome.
public static bool IsPalindrome(string w)
{
var arr = w.ToLower().ToArray().Where(x=>Char.IsLetter(x));
return arr.First() == arr.Last();
}
I have passed all but the last (valid special character test) However, I'm having difficulty debugging because there is no example anywhere of what a 'special character' is, and neither can I see the actual test in the test description.