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.
Unpublishing as a duplicate of https://www.codewars.com/kata/5168bb5dfe9a00b126000018/
There's already a lot of similar katas on CW.
It is not mentioned that the words to be replaced may not come in lowercase only.
Duplicate of every "reverse a string" kata.
Fixed.
not an issue, an opinion. It's appropriate for a 8 kyu challenge.
not an issue, an opinion. It's appropriate for a 8 kyu challenge.
maybe make the words keep the same order but each one be reversed individually, it's a little too easy as is.
Reversing each word and the sentence is the same as basically reversing the string. Maybe you could ask to reverse the sentence and every other word?
Sorted :-)
Sorted :-)
Hi @jen-harris, I've added some random tests to the Javascript version, hope you don't mind. This should now solve the issues on the kata. The Ruby and Python translation already have random tests :-)
A little nitpicking, all return strings have an ending (
!
), except for"You can only have an espresso, latte or a decaf now"
, maybe a.
afternow
.I could try and kumit a translation in C since it's not as simple (still easy) to reverse a string in it. But It would take me some time as I need to figure out how to do random test cases for this one :D
EDIT: also, that extra step that was added later on woud really trip beginners in C.
Although I don't find a kata in Javascript and Python about reversing strings (nor putting it between "#") original after more than 4 years of Codewars' life (and I want to highlight Javascript and Python, cause probably it would be more challenging to reverse a string in some other languages without finding it on StackOverflow), I've added the random tests for Javascript and closed issues about (no more) missing random test cases for Python. Cheers.
Loading more items...