moved by
7 7 votes

In the square grid shown on the left, a person standing at $\text{P2}$ position is required to move to $\text{P5}$ position.

The only movement allowed for a step involves, “two moves along one direction followed by one move in a perpendicular direction”. The permissible directions for movement are shown as dotted arrows in the right.

For example, a person at a given position $\text{Y}$ can move only to the positions marked $\text{X}$ on the right.

Without occupying any of the shaded squares at the end of each step, the minimum number of steps required to go from $\text{P2}$ to $\text{P5}$ is

  1. $4$
  2. $5$
  3. $6$
  4. $7$

6 Answers

8 8 votes

Using the above information given in the question, we can move a person from $\text{P2 to P5.}$

A person can move from $\text{P2 to P5}$ in the following way (minimum number of steps):

  • ${\color{Blue}{\text{P2} \overset{1}{\longrightarrow} \text{Q4} \overset{2}{\longrightarrow} \text{S3} \overset{3}{\longrightarrow} \text{Q2} \overset{4}{\longrightarrow} \text{R4} \overset{5}{\longrightarrow} \text{P5}}}$

Another way is also possible, with the minimum number of steps.

A person can move from $\text{P2 to P5}$ in the following way (minimum number of steps):

  • ${\color{Purple}{\text{P2} \overset{1}{\longrightarrow} \text{Q4} \overset{2}{\longrightarrow} \text{S3} \overset{3}{\longrightarrow} \text{T5} \overset{4}{\longrightarrow} \text{R4} \overset{5}{\longrightarrow} \text{P5}}}$

$\therefore$ The minimum number of steps required (for a person) to go from $\text{P2 to P5}$ is $5.$

Correct Answer $:\text{B}$

2 2 votes
Easier if we backtrack from P5. R4 is the only block that can be used to reach P5. R4 can be reached through T5 or Q2. T5 seems too far so will choose Q2 for now and backtrack if necessary and choose Following similar procedure we can conclude that no path with less than 5 steps is possible.
moved by
Answer:
Position:
Show: