Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Same problem..
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?"
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
How much more can you break it down?
There really is no more simplification to this... Take each word, and if it has 5+ letters - reverse it, otherwise leave it the same.
You're the one bringing it up, there's nothing like that in description. IDK what string flipping is :D
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?
Well, if I can't understand the description of this task, let him describe it in more detail
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.
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.
Hey it was java. I did get an error that expected revesed string like that: "Just gniddik [ereht is llits] one more"
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!
This comment is hidden because it contains spoiler information about the solution
I think this Kata is so easy for 6 kyu.
Strings 2-14 are useless, I think..
Great explanation. TBH, I didn't know why my solution worked when I wrote it - I just kinda guessed!
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.