Ad
  • Custom User Avatar

    Looks, like there is a mistake in discription:
    < 40 = 'Super happy!'
    < 70 >= 40 = 'Happy!'
    < 100 >= 70 = 'Sad!'

    100 = 'Miserable!'
    Nothing equals 100.
    By the test that fails, I suppose it's 'Miserable!'.
    = 100 = 'Miserable!'

  • Custom User Avatar

    Actually the answer is written in the description but without help of AI I couldn't understand what to do.
    :(

  • Custom User Avatar

    It’s so frustrating when the sample tests pass, but Random tests don’t!

  • Custom User Avatar

    It’s a complete waste of time!
    From a programming perspective, it's worth zero.
    But figuring out what needs to be done can take a significant amount of time.

  • Custom User Avatar

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

  • Custom User Avatar

    Definitely not kyu 8 and not even kyu 7.
    I wonder how many people did kata kill their desire to continue programming?
    🤬🤬🤬

  • Custom User Avatar

    Such a beautiful solution!
    ❤️

  • Custom User Avatar

    Actually, this solution fails if string = "two, two" or "The score is four: nil".

  • Custom User Avatar

    Not very clever to insist on keeping spaces!
    Especially if you don't verify that more than 3 spaces are treated correctly.

  • Custom User Avatar

    Definitely not 8 kyu!!!

  • Custom User Avatar

    I'm not sure what you mean by this. Your current solution passes, and yes, the two strings have to have the same quantity of each letter, otherwise they aren't anagrams.

    edit: nvm, I see. You're saying that your kata passes the tests, but not this specific case. Yes, this case should be added as a fixed test and the random tests should also be guaranteed to generate at least one random test case like this.

  • Custom User Avatar

    Random test gave me a set :
    t = 'yuzKWiOdcBADllzO'
    s = 'iCzOyWDmAKlazsUB'
    All letters are in both strings but quantity is different.
    My code failed on it and as minimum two other codes that I saw in Solutions failed.
    Don't know if random test should be fixed or to add this set to Sample Tests.

  • Custom User Avatar

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

  • Custom User Avatar

    At work, developers constantly complain about clients giving unclear instructions. And now look at this — 90% of Katas fail on random tests because critical info is missing from the task description.

    It’s driving me absolutely mad!
    🤬

    Check out this gem of a task — so confusing even an AI stumbled:

    -- do you see how "hello" is 54 bytes?

    -- That’s a fun observation — but the word "hello" is definitely not 54 bytes. Let’s break it down:
    Each character in "hello" is typically 1 byte in UTF-8 or ASCII encoding.

    😂

  • Custom User Avatar

    I just tried and AI returned me working solution immediately, and I am not really sure what is the problem here, I'm sorry :(

    But I admit that things like recursion and type checking might put it in the range of harder 7 kyus. Maaaaaybe the low end of 6 kyu would not be wrong either. But even then, I don't think that 7 kyu rank is very wrong, and rather justified.

  • Loading more items...