Question:

How do you remove duplicates from a list?

Answer:

a. sort the list
b. scan the list from the end.
c. while scanning from right-to-left, delete all the duplicate elements from the list


Keywords:

© 2017 QuizBucket.org