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.
Your's is probably a bit faster without the need to copy the list. I tend to not modify the data I'm given just in case the test cases are written in such a way as to depend on the same data after my function is called (it's bitten me in the past).
ditto
This comment is hidden because it contains spoiler information about the solution
ditto
ditto
cool!thinking from the concept of palindrome
ditto,not bad bro
ditto!
why?it's good
use'while', not'if'
ditto
ditto
ditto