set stl Question 2

Last Updated :
Discuss
Comments

Which of the following statements about the set container class in the STL is NOT true?

A set is an ordered container that stores only unique elements.

A set has fast element insertion and search times.

A set is implemented as a binary search tree.

A set does not allow element modification or removal.

Share your thoughts in the comments