Write a sequence of moves for n=4 What kind of path is the resulting path? Expla
ID: 3551687 • Letter: W
Question
Write a sequence of moves for n=4
What kind of path is the resulting path? Explain why the solution gives this kind of path.
Explanation / Answer
<<1>>
Sequence of moves for N=4 :
---------------------------------------
For better understanding let A = tower 0, B = tower 1, C = tower 2. Following sequence follows :
(A , B) => (A , C) => (B , C) => (A , B) => (C , A) => (C , B) => (A , B) => (A , C) => (B , C) => (B , A) => (C , A) => (B ,C) => (A , B) => (A , C) => (B , C)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<<2>>
The path will be a "Hamiltonian Path" !
Explanation : Considering each vertex of Cube as nodes and edges as edges we can imagine the cube as a "Undirected Graph".
Now, Hamiltonian Path in an undirected graph is a path that visits each vertex exactly once.
According to given set of rules of moving in your instructions, each vertex will be visited exactly once.
Hence the path will be hamiltonian path.
Note : Feel free to ask in case of you face any doubts or need further explanation :)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.