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.
When I first looked at this Kata I thought it's gonna be easy. Don't get misled with 5kyu level! The optimization is what it makes harder than most 5kyu katas I've solved so far. It gave me hours of entertainment but there is one flaw that isn't dependent on this kata but more on Codewars site. My solution is very lengthy compared to others because I optimized it as much as I could, while the most of the other solutions may be elegant - these solutions just don't pass the final tests anymore because they take too much time to compute.
Fun and satysfying kata :) I especially recommend this kata for someone who want to learn or to remind regular expressions.
Okay kata is not broken in C# although the Expected is swapped with Actual and it confuses a lot. If someone know how to fix it I would be glad :)
Thanks for the answer and your time to fix it :)
C# Needs fix mine code was not accepted, it told me:
Expected string length 8 but was 6. Strings differ at index 0.
Expected: "expected"
But was: "actual"
-----------^
while my code was right, I sacrificed my honor to see solutions and copy-pasted them, the error was still the same.