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.
This comment is hidden because it contains spoiler information about the solution
good one..
Description updated.
Description updated.
Description updated, along with python tests.
Description needs a little update: define vowels, use quotes, etc. (as mentioned in previous comments)
Assuming English, 'y' can be regarded as a vowel in certain cases. If there are no other regular vowels 'aeiou' the 'y' acts as a vowel (so it should be moved to the end in theory according to the description). Some examples:
'myth' -> 'mthy'
'slyly' -> 'sllyy'
It might be good enough to check if there are other regular vowels present and if not, move the ys to the end. You would need to verify that the string input is actually a word though and not a garbled string and that might make this way more complicated.
This comment is hidden because it contains spoiler information about the solution
Not an issue.
Just a couple of small things in the description that could be better:
Fixed, thanks!
Thanks senpai: a silly mistake on my part, now I fixed the code to generate the random inputs and it should all work fine. Let me know otherwise :)
I post here too because I think that Giacomo is the translator and he needs to know.
Ruby.
Something seems wrong in test cases:
Testing for [14, 19, 14, 14, 13, 14, 14, 13]
Expected: [14, 14, 13, 14, 13, 14, 14]
The description says:
But there, it is not the case.
At least (it is not sufficient...) I think, from the description, that input and output arrays must have the same length as in "Your test cases".
Maybe Python tests must be verified too?
Ruby.
Something seems wrong in test cases:
The description says:
But there, it is not the case.
At least (it is not sufficient...) I think, from the description, that input and output arrays must have the same length as in "Your test cases".
Maybe Python tests must be verified too?
Ranked, upvoted, translated, but please not that you should implement random test cases, plus, imho, also tests where the pivot is also present in the wing of the palindrome.
Loading more items...