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.
Well, a given string repeat
0
times is definitely gonna be empty (same logic to all numbers multiplied by0
will be0
) Hence, closingWhy add it? Isn't it obvious? What should be returned instead?
Backup your code, click Reset, paste it and try again. Or delete the first two lines of the sample tests.