IDNLearn.com makes it easy to get reliable answers from experts and enthusiasts alike. Our experts provide timely and accurate responses to help you navigate any topic or issue with confidence.

Say you have a long string and you want to collect all of the letters within it without storing duplicates. What would be the most appropriate type to store the letters in?
a. a set
b. a list
c. the original string
d. a dictionary


Sagot :

A set because sets do not allow duplicated elements