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.
@Jack-Hogerhuis: because it just creates an array while it is not necessary. The
Reverse()
method works on the string as well, no need to make it (copy it) to a char array first.This comment is hidden because it contains spoiler information about the solution
Would this work in an coding interview?
This comment is hidden because it contains spoiler information about the solution
The second one was needed, as an error will be thrown without it
Why this solution so slow?
This pretty much copies the data several times.
This comment is hidden because it contains spoiler information about the solution