Which of the following data structures does not allow duplicate elements?

  • ALinked List
  • BStack
  • CHash Set
  • DNone of these
Show answerHide answer

Correct answer C

Hash Set is a collection that stores unique elements only, automatically ignoring duplicates. It provides fast lookup and ensures data uniqueness. It is commonly used in databases and programming applications.