I have a list of list (nest list). I need to find the common elements between those.
Example would be
[1,3,5],
[1,6,7,9,3],
[1,3,10,11]
should result in [1,3]
If not using the retainAll method of HashSet, how to iterate all the element to find?
Thanks,