https://pythonexamples.org/cpp/how-to-create-a-list-of-sets
How to create a List of Sets in C++
In C++, you can create a list of sets using the list container from the STL for the outer list and the set container from the STL for the inner sets.
how to createlist of sets