Question: Determine whether two given graphs are isomorphic.
The complete m-partite graph Kn1,n2,...,nm has vertices partitioned into m subsets of n1, n2,...,nm elements each, and vertices are adjacent if and only if they are in different subsets in the partition.