Isomorphic Graph

You are given two connected graphs $G_1$ and $G_2$. Both of the graphs have $N$ vertices and $N$ number of edges. You have to say whether the two graphs are isomorphic or not.


This is a companion discussion topic for the original entry at https://toph.co/p/isomorphic-graph