Back to the 2023 paper

Module 2: Fundamental Algorithmic Strategies

202310m

Apply the backtracking approach and find the Hamiltonian cycle for the graph given in the form of matrix. Show all the steps to find the cycle.

A B C D E F
A 0 1 1 0 0 1
B 1 0 1 1 0 0
C 1 1 0 0 1 0
D 0 1 0 0 1 0
E 0 0 1 1 0 1
F 1 0 1 0 1 0

Similar questions