| 1 | initial version |
Convert lists to tuples, like in this answer, and compare set(L_i) == set(L_j).
| 2 | No.2 Revision |
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).
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.