Ad
  • Default User Avatar
  • Custom User Avatar

    Thanks, your comment has helped me.

  • Custom User Avatar
  • Default User Avatar

    Good catch. "aojewfiojawofeij" should've been a member of strings2.

  • Custom User Avatar

    I get a little confused.
    You said that "comparing any string in strings1 vs. any string in strings2."
    However, in your example 1, you compared "aojewfiojawofeij" with "a", that both strings are from strings1.

  • Default User Avatar

    I think it is exactly what the description says but with less verbosity:-) Thanks for your effort!

  • Default User Avatar

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

  • Default User Avatar

    I specifically chose my language to not be hostile...

    And you got my upvote for that. And for having been downvoted by the mob. My votes do not go to those I agree with. My upvote goes to you for your bipartisanship.

    People should not lose honor for stating their opinion. To exaggerate/blow that up - one should not go to jail for criticizing the government. Up and down votes cannot be agree and disagree buttons.

    And realistically, it's not a big deal anyway.

    I think that is what is wrong with the world.

    People have an expectation, they feel that their expectation is right and anything that breaks against it is wrong. "Instructions are terrible". No. No. No. No. This cannot be how we think of things that are different, it is not acceptable. This is far too much like religions excluding one another, racism, us and them, tribalism. It is a very scary way of thinking. It has no consequence here other than a bunch of undeserved notifications in @g964's notifications, but that way of thinking does not stay here. This is very bad.

    it's clear experienced warriors see no problem

    ^ This is what I'm replying to above all else. I don't see a problem. But I do see what others see to be a problem. And it is coming from not seeing the kata for what it is. And they attack that which they do not understand.

    As far as my suggestion goes, you and @g964 are light years ahead so I would trust your judgment regardless even if we disagree.

    There's a small number of 8-6 kyu folks who are certain that they are right! They are not wrong because they are low rank. They are wrong because they judge by emotion instead of by measurement.

    most warriors who struggled here are probably kicking themselves for taking too much time to solve a task

    They shouldn't assume that a low rank kata means that they should be able to solve it. That is something one determines by reading the kata - whether it is of interest, whether one has a plan for approaching it.
    A kata is also not designed to be a particular kyu. People might be used to ... idk math books where there is an idea of what one is supposed to be able to do.

    The reason why the description should stay the way it is, is because it is very much part of the design of the kata. That is the kata. The kata is not the thing that ends up in code.
    Unlike some mathier kata, it is still very relevant to programming because programming is so very much about changing perspective and transforming things.

    Ignore the kata's rank and judge it for itself. Are the instructions terrible? No. And you're tying your suggestion to rank so I think I have a good chance of having your agreement there if you for the sake of argument ignore the rank.
    It messes with people's expectations. Good. This is difficult to do.
    This upsets people. Good. They shouldn't be. This should be challenged. This is the kind of thing that should go into education for people of all ages.
    Is it a mess? Yup.
    Am I above these things? lolno I'm as big of an idiot as anyone, equally bad at understanding the other. Being aware of it does help.

    you're going to offend too

    Yes that post of mine is quite troll. Though it is also entirely accurate about how I feel what I see in the discussion for this kata. Whining specifically referrs to calling something bad when they're actually upset about something else that they do not wish to say. Disagree with something -> something must be bad.
    Whether the description should change or not is the least interesting thing going on here.

  • Custom User Avatar

    I agree there's no need for insults or derogatory terms. I specifically chose my language to not be hostile... "Description could probably use some tweaking..." Although, I think the point of upvotes and downvotes is exactly to express agreement or disagreement without having to actually enter discourse. On the other hand, responding with,"You all are just whining..." isn't a particularly good way to facilitate the kind of behavior you might consider not "extremely concerning." Despite your feelings about this, you're going to offend too. People are already frustrated - of course you got downvoted. And realistically, it's not a big deal anyway.

    My thoughts are this: from what I can tell (with my very limited experience), this kata isn't terribly difficult and seems to be ranked appropriately. And you make a great point - understanding what the kata is asking for (however it may be expressed) is part of the problem AND, furthermore, it's true that "There's nothing unclear about the facts presented." I don't think it's a matter of clarity.

    Knowing that, most warriors who struggled here are probably kicking themselves for taking too much time to solve a task they consider less difficult than their initial impressions (based on the description). And that is a big deal - there is a general expectation for what a 7kyu is and how long it should take. Of course it's going to deter beginners and frustrate users when the sole reason for their struggle was the description. People feel duped, frustrated. And when many users are saying the same thing, there's something to consider at least.

    As far as my suggestion goes, you and @g964 are light years ahead so I would trust your judgment regardless even if we disagree. And that's perfectly fine too, to disagree. I think it could be better worded so users can spend more time tackling the logic with a little more confidence, less time scratching their heads on the description, but I don't disagree that it's fine as is too - a slightly healthier challenge. Personally (maybe ironically), I like this kata, moreso for its description than the task itself. It requires a little more attention to detail or exploring. It's why I left a short explanation in my comment - anyone who genuinely wants to understand can start by coming to the discourse.

    Honestly, my only real contention with you is on the matter of perception. The way anyone approaches a problem in code is a combination of many things: their experience, style, knowledge, probably talent, the language they used...etc, not just how they interpret their given instructions. Virtually all katas have great variety in their solutions, regardless if their descriptions are abundantly clear, purposefully left more vague or written in more advanced terminology and examples.

  • Default User Avatar

    I see no problem with the instructions, no. But yes, of course it's harder.

    In elementary school math we are presented with problems written in text to practice figuring out the relevant facts. It is part of the problem! It doesn't make the instructions bad, trash, terrible, horrible or any other synonym to those things.

    There are a bunch of 5 kyu kata that I can't easily solve. That doesn't make me visit the discourse section to insult the instructions, upvoting everyone that agrees with me, downvoting everyone that doesn't. That's extremely concerning behaviour!

    P.S. Here, have an upvote to cover for the immediate downvote you got for daring to post here without complaining about the instructions.
    Yeah and there's my downvote, even as I comment on this behaviour. Makes one wonder if they're quite aware of themselves.

  • Default User Avatar

    I have the pleasure to copy part of @natan answer (post below):

    There's nothing unclear about the facts presented. You all are just whining about having to change perspective on the problem. Considering different perspectives is healthy. This is required to approach many problems, this is required to understand other people. Not everything needs to be presented in the perspective that you happen to agree with.

    There are plenty of poorly written kata descriptions. This isn't one of them. This needs to stay exactly how it is, exactly because it goes against your way of thinking.

    Take a look at the solutions. They vary greatly! Could that be because everyone has to create their own view on the problem, because they cannot make a direct translation of the text in the description? That is a wonderful thing. That makes the description very successful.

  • Custom User Avatar

    For those of you who came to the discourse for some clarity.

    "Find max(abs(length(x) − length(y)))" means you need to subtract the length of one string in one array from another string in the other array such that you return the largest difference possible based on your given arrays.

    Just going by the comments, it's clear experienced warriors see no problem while beginners are struggling. Description could probably use some tweaking for 7kyu and certain languages.