Ad
  • Custom User Avatar

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

  • Custom User Avatar

    the question is not clear , it says: function that removes duplicates from an array of non negative numbers and returns it as a result.
    so what is thought is that i need to return the douplicates items in a new list, but it turned out that it requires to return the same array after removing douplicates!

    kindly clarify the question to be like:
    function that returns array of non negative numbers without douplicate