At Westonci.ca, we connect you with the answers you need, thanks to our active and informed community. Discover solutions to your questions from experienced professionals across multiple fields on our comprehensive Q&A platform. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

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

Visit us again for up-to-date and reliable answers. We're always ready to assist you with your informational needs. Thanks for using our platform. We aim to provide accurate and up-to-date answers to all your queries. Come back soon. We're glad you chose Westonci.ca. Revisit us for updated answers from our knowledgeable team.