Library

As briefly mentioned before, there are 3 variants of Balanced BST in STL that we are particularly interested in:

  1. Set

  2. MultiSet

  3. Map

Include statement:

#include <set>

#include <multiset>

#include <map>


Set

The Set is a container that stores unique elements following a specific order.

Below are the operations we’ll be using frequently. For complete documentation check here.

Get hands-on with 1400+ tech skills courses.