in Python, given two lists of pairs:
listA = [ [1,20], [3,19], [37,11], [21,17] ]
listB = [ [1,20], [21,17] ]
how do you efficiently write a python function which return True if listB is a subset of listA? oh and [1,20] pair is equivalent to [20,1]
Use
frozenset.