Ad
  • Default User Avatar

    some of the tests in the "attempt" section i guess have issues so dont feel too bad. If the main test fails although you have the exact input, check to see if your output has an extra space at the end or in the begining, good luck.

  • Custom User Avatar

    If anything in the text isn't a letter, ignore it and don't return it.

    However in Python (at least): Random tests only generate lowercased letters.

  • Custom User Avatar

    I've forked the Haskell translation here to add random cases and clean a few things up.

  • Default User Avatar

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

  • Default User Avatar

    Any idea why removing trailing space from my solution gives me this:

    Expected: equal to "20 8 5 14 1 18 23 8 1 12 2 1 3 15 14 19 1 20 13 9 4 14 9 7 8 20"
    Actual: "20 8 5 19 21 14 19 5 20 19 5 20 19 1 20 20 23 5 12 22 5 15 3 12 15 3 1120 8 5 14 1 18 23 8 1 12 2 1 3 15 14 19 1 20 13 9 4 14 9 7 8 20"

    It's like it pulls entire 2nd string from somewhere and places it in front of my own. It isn't there before i try using pop_back or anything else.

  • Custom User Avatar

    These languages only test for numbers between 1000 - 9999

    • F#
    • Swift
    • Java
  • Custom User Avatar
  • Custom User Avatar
  • Default User Avatar

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

  • Default User Avatar

    Trying to solve this in Rust and I am having problems passing the symbols test apparently due to curly braces ({}) that should be escaped. I am fairly new to rust and I am not sure if it is something I have to do or if there is somethign going on with the test itself. Any help would pe appreciated, thank you.

  • Custom User Avatar

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

  • Custom User Avatar

    In Haskell we may be given a negative number, this is out of the description and apparently there's nothing like that in other languages.

  • Custom User Avatar

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

  • Default User Avatar

    It's a pretty average kata. Since there's no right answer per se, I feel like the kata is quite pointless if you're going to be using the random module. Still a good challenge without the use of the random module (you can make it a code golfing kata, without the use of the random module).
    This is just my opinion, feel free to tell me how wrong I am lmao

  • Default User Avatar

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

  • Loading more items...