R
rajat
there is a person who is standing in the middle of a square of size
n*n.he can walk
sideways or cross,i.e. from a block (i,j ), he can go to
(i+1,j+1),(i-1,j-1),(i+1,j),(i-1,j)
(i,j+1),(i,j-1),(i+1,j-1),(i-1,j+1).He cannot go if he reaches the end
of the block.
Show a path by which he can cover the whole square.
n*n.he can walk
sideways or cross,i.e. from a block (i,j ), he can go to
(i+1,j+1),(i-1,j-1),(i+1,j),(i-1,j)
(i,j+1),(i,j-1),(i+1,j-1),(i-1,j+1).He cannot go if he reaches the end
of the block.
Show a path by which he can cover the whole square.