Ad
  • Default User Avatar

    sorry the issue is when I run this code in my com it's give the right output
    but here it gave me wrong output
    and every time I try it gives another output
    the wrong output exactly in the sorting of the list

  • Custom User Avatar

    That's a question, not an issue.

    Don't mutate the input object. If you must, copy it first.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution