Ad
  • Custom User Avatar

    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.