Question 13
Kangaroo wants to get home by following the roads in the picture. It may move only horizontally (left or right) or vertically (up or down), and may cross a rock pile only if it contains at most two rocks.

One segment is the distance between two neighboring junctions. What is the minimum number of segments needed to reach the home at the bottom-right corner?

One segment is the distance between two neighboring junctions. What is the minimum number of segments needed to reach the home at the bottom-right corner?