I have an ArrayList of Set of Strings; ArrayList<Set<String>> tmp
I need to use this type of data structure because of my requirement. How can I remove duplicates from this?
For example, how to convert;
[[A, B, C], [B, A, C], [C, D, E], [E, C, D]]
to
[[A, B, C], [C, D, E]]
I did go through the other similar answers here, but they are concatenating all the items into one list, for the above example [[A, B, C, D, E, F]]
I DONOT want this