Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Convert lists to tuples, like in this answer, and compare set(L_i) == set(L_j).

Convert You can compare sorted(L_i) == sorted(L_j) to check if two lisrs are isomorphic.

Or, convert lists to tuples, like in this answer, and compare set(L_i) == set(L_j).