Ad
  • Custom User Avatar

    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.

  • Custom User Avatar

    Fun and satysfying kata :) I especially recommend this kata for someone who want to learn or to remind regular expressions.

  • Custom User Avatar

    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 :)

  • Custom User Avatar

    Thanks for the answer and your time to fix it :)

  • Custom User Avatar

    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.