#includeIn this example, we create a DenseSet 's' of integers and insert some values into it. We then use iterator to iterate over the set and print each element. The package/library that DenseSet belongs to is the C++ Standard Library (STL).#include using namespace std; int main() { DenseSet s; s.insert(5); s.insert(3); s.insert(1); for (auto it = s.begin(); it != s.end(); it++) cout << *it << " "; return 0; }