I want to add sets {1,3,5} and set {2,8} into a "list". How or which data structure should I use?
I basically want it to be able to store groups. I tried vector of vectors, or I need set with multiple key values in C++.
sets = {{1, 2, 3}, {2, 3}, {3, 5}};