A building has several rooms and doors as shown in the top view of the building given below. The doors are closed initially.
What is the minimum number of doors that need to be opened in order to go from the point P to the point Q?
Tap to open full sizeFigure description
Top view (floor plan) of a building drawn as a large, nearly square outer rectangle. A full-width horizontal wall about one quarter of the way up from the bottom cuts off a long bottom strip. Point P is a dot near the right end of this strip. The full-width wall has one door (a small shaded rectangle lying along the wall) near its left end. Above this wall: (1) A small central room hangs from the top outer wall, roughly in the middle of the building's width. It is a rectangle whose top side is part of the outer top wall. It has a left wall, a right wall and a bottom wall, and it reaches down to about 45% of the building's height. Its left wall and its right wall each have one door (a small shaded rectangle standing upright along the wall) at about mid-height. (2) A vertical wall runs down from the middle of the central room's bottom wall to the full-width horizontal wall, and it has one upright door at about its middle. The central room and this vertical wall split the space above the bottom strip into a left-hand area and a right-hand area. (3) In the left-hand area, a short horizontal wall starts at the left outer wall, slightly above the level of the central room's bottom, and runs right. It stops short of the central room's left wall and leaves an open gap, so the space above it and the space below it form one connected room. The door on the central room's left wall lies above this short wall. (4) In the right-hand area, a short horizontal wall starts at the central room's right wall, a little higher than the left short wall, and runs right. It stops short of the right outer wall and leaves an open gap, so the space above it and the space below it form one connected room. Point Q is a dot in the upper part of this right-hand room, just right of the central room and near the top wall. The label "door" sits in the left-hand room, just below the left short wall and to the left of the central room. Two curved arrows run from it up to the doors on the central room's left and right walls, and two more run to the door on the vertical wall and down to the door on the full-width horizontal wall. Four doors in total.
- (A)
4
- (B)
3
- (C)
2
- (D)
1