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.
@natan True, but the whole point was about me beeing confused. It just took B1t's message to make me realize the problem. Thx anyway :)
Thanks B1ts! Finally a good information that solved the misunderstanding!
read my second one. Thats what I mean. It should not be this way. Anyway...thanks for trying
I can't remember for sure but I was doing something like this:
myvar = inputvar
doing stuff with myvar and return it
feedback: You are not allowed to mutate...:(
so how can other people swap stuff arround with cloned arrays?
When we talk about the original array, are we referring to the original variable itself, or just the order of the elements? At first, I tried to modify the original variable directly. Then, I made a copy of the array and tried to modify the copy, but that didn’t work either. I saw other solutions where people were just swapping elements within the array, which suggests they must have been modifying the original 'order of elements'... It's confusing, isn’t it?
Hobovsky, no offense, but did you actually read what I just said? :) I did not try to manipulate the original array. I created a new one, still could not manipulate it
As a Kyu7 task, it should highlight this kind of 'rabbit hole' to help prevent people from falling too deeply into it.
I could not copy the given array in a new one and manipulate the new one.
I always received an error that im not allowed to manipulate it, even if its not the original one.
So I had to create a new one while sorting. WTF, took me like 4 hours to solve.
Now afterwards I saw from other solutions that others were allowed to manipulate a cloned array :(((
I think it depends on the coding language. As far as I can tell python was pretty easy. C# was way to hard with its datatype iEnumerable. I wasn't able to solve it within 15 minutes even after googling after this datatype. Just an array of strings whould have been more apropriated for 8.Kyu
lol... this is kyu 8? ridiculous hard...