Describe and analyze an efficient method for removing all duplicates from a collection A of n elements. In python if you need to use code