Q. Which data structure does not allow duplicate elements?
β
Correct Answer: (D)
set
Explanation: A set is an unordered collection of unique elements.