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
UwUUUUUUUU
Thank you! My eyes were crossing trying to count that many letters. Pasting it side by side was smart.
That wasn't so hard, was it?
I feel like I'm losing my mind... I keep getting "expected 'Z-Pp-Ggg-Llll-Nnnnn-Rrrrrr-Xxxxxxx-Qqqqqqqq-Eeeeeeeee-Nnnnn-Uuuuuuuuuuu' to equal 'Z-Pp-Ggg-Llll-Nnnnn-Rrrrrr-Xxxxxxx-Qqqqqqqq-Eeeeeeeee-Nnnnnnnnnn-Uuuuuuuuuuu'"
What is the difference???
You start from the index
1
which is the 2nd character of the string instead of the first (index0
)Also, one of your lines in code does not perform anything.
Funny one.
.
Thanks!
StringBuilder::repeat
is available since Java 21. This version of Java is not supported by Codewars.This comment is hidden because it contains spoiler information about the solution