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.
Good one. Do you know until what Swift version the
replacingCharacters
method was supported? Not anymore in 5.2, and apparently valid around 4.2.Good one. And this can be more difficult than it looks, for anyone who has never done numerals with a programming language or a calculator.
I think the problem description requires extra information, to make it a bit clearer (the historical background is great). For example, it seems to me easier to see the target with:
As for the last point, I do not know what is the best practice/balance on Codewars.
Next training...