Ad
  • Default User Avatar
  • Default User Avatar

    pretty sure i am not that good to solve in the most efficient way but i passed the Test and that's Somehow good for me :)

    So i have a question
    is there any previous Kata that have just the first part ?

    and i really wanna see the result in c# too
    so hope to know if there's any news about it

  • Custom User Avatar

    Same issue!

    12 seconds... Even if go for the most naive solution it should work.

    How come, that it's not?

  • Default User Avatar

    C# has anyone managed to pass the test suite without timing out?

    I managed to get tests by passing in 'Console.WriteLine($"{s} {x}")' so i could get the input values and expected outputs in order to run the tests locally, they all pass in 20ms in total (all thirteen tests). My computer is over 5 years old.

    When I try my solution on the site it times out in 12000 ms without passing (or failing) any tests.

    I really enjoyed trying to solve this kata, it was really good fun. Am happy to share code (there isn't very much of it).

    Any help would be really appreciated. Thanks in advance : )

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar
  • Default User Avatar

    Taking functional programming, extension methods, generics and more - and merging them into a Hello World level program... talk about over-engineering for the fun of it ^_^