Ad
  • Custom User Avatar

    Same problem..

  • Custom User Avatar

    Dear user, and have you thought maybe the problem was YOU didn't understand the instructions (unlike the other 93000 persons who did)? You can ask for a rephrase or an explanation without the insults or being demanding.

    It's as simple as writing "I don't get what to do, could someone explain it in another way?"

  • Custom User Avatar

    Okay, I understood, it was possible to simply describe: write a function that turns every word whose length is >= 5.Dear admins, control the task description.Otherwise I will also create tasks

  • Custom User Avatar

    How much more can you break it down?

    returns the same string, but with all five or more letter words reversed

    There really is no more simplification to this... Take each word, and if it has 5+ letters - reverse it, otherwise leave it the same.

    I can't understand the principle of flipping a string

    You're the one bringing it up, there's nothing like that in description. IDK what string flipping is :D

  • Custom User Avatar

    How can I better describe a task if I can't understand the principle of flipping a string?Can someone explain to me clearly and not throw a quote from the task?

  • Custom User Avatar

    Well, if I can't understand the description of this task, let him describe it in more detail

  • Custom User Avatar

    Dezoway:

    Remember the Codewars community is global and we all have different backgrounds and speak different languages natively. So miscommunication happens sometimes. Please try assuming the best intent when communicating on Codewars. And don't call others idiot, please, read this.

  • Custom User Avatar

    Well yeah, sometimes messages from JUnit can be confusing :( The special characters you see are not a part of the string. That's how JUnit attempts to hint you where your answer differs from the expected one. Expected and actual values are different somewhere in between the brackets.

  • Custom User Avatar

    Hey it was java. I did get an error that expected revesed string like that: "Just gniddik [ereht is llits] one more"

  • Custom User Avatar

    Please if you can come up with some better description then share it here, and I will be more than happy to update it.

    I think this fragment of description could be helpful to get what's the task here, I am not sure though: "[function] takes in a string of one or more words, and returns the same string, but with all five or more letter words reversed" .

    Thanks!

  • Custom User Avatar

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

  • Custom User Avatar

    I think this Kata is so easy for 6 kyu.

  • Custom User Avatar

    Strings 2-14 are useless, I think..

  • Custom User Avatar

    Great explanation. TBH, I didn't know why my solution worked when I wrote it - I just kinda guessed!

  • Custom User Avatar

    Thanks, good man! I had no idea that the solution would be so simple! Already completely desperate, I opened the answers, and found an answer with an explanation. Now I understand. Thanks again. The difference in difficulty between 8 kyu and 7 kyu is enormous.