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.
Can someone with greater experience on python than me explain the speed comparision of this solution to using conversion to list and popping elements? In that solution popping elems that are not last comes with great cost, but here you have to create a new string in every iteration. What is better theoritically?
could you explain please how it's possible since strings are immutable?