Question d’entretien chez Wolabi

Problem given relating to Hamiltonian path.