Ad
  • Custom User Avatar

    thx for the help

  • Custom User Avatar

    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.

  • Custom User Avatar

    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.

  • Custom User Avatar

    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?