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.
This comment is hidden because it contains spoiler information about the solution
Yes, I realized my mistake, thank you very much. It was necessary to learn more about the peculiarities of the language. 100 iterations, it's so joke, forgot to rewrite)
What language, what error? Impossible to help you with so little information.
There is no error, your code mutates the original list. Read about it.
Some solutions present in Solutions section aren't invalidated (don't know why) but were valid when input mutation wasn't tested.
this kata has a error and I saw solutions, I went back to try agin error
Read about arrays and mutation, you are indeed mutating it. You're not creating a copy, only another reference to the same array.
Try this kata
And why did you set the loop limit to 100 iterations?
This comment is hidden because it contains spoiler information about the solution