Show that if either N is even and M > 1 or M is even and N > 1, then the N × M grid is Hamiltonian.

33 Views Asked by At

The grid in question is undirected.

The length of the Hamiltonian cycle should be even which should be possible in this grid since any N × M grid is bipartite. Besides this, I am not able to grasp any other insights which might help me to prove this.

What would be a good strategy to prove this?