In my class they gave me some necessary conditions for two graphs to be isomorphic, these two graphs satisfy all of them but I don't think they're isomorphic:
Degree sequences are equal.
Same amount of vertices/edges.
$G$ is bipartite $\iff H$ is bipartite.
Is there any methodical (quick) way to solve these kind of questions?
Best Answer
Look at the four vertices of degree $3$ in each graph: in $G$ each of them is adjacent to two of the others, while in $H$ each of them is adjacent to only one of the others. Alternatively, in $G$ they form a $4$-cycle, while in $H$ they do not.
Yet another approach: if you remove them from $G$, what’s left is this graph, with two components.
If you remove them from $H$, what’s left is a graph with $4$ vertices and no edges, one with $4$ components.