Hamiltonian cycles in subdivided doubles