Reverse hamiltonian path