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.
thx for the help
Thank you. Didn't know what I was doing - I thought that I was copying content of the list to new list.
Now I created empty list and filled it with changed date from oryginal list.
As your code is right now you're creating a new reference to the same list, not creating a new list. You can see that printing
lst
at the beginning and before your return line.Hi, I am new to programing, and have problem to understand the concept of "mutate" the input array. I use new array for my code, and only "copy" content to new array, and work on new array. Still cant pass the tests. Can someone give me link to documentation/article about it?