Question:hard

Consider an art gallery whose walkways are shown as lines in the diagram. A black dot represents a junction of two walkways. A guard may be placed at a junction to watch over the walkways that join at that junction. The minimum number of guards needed to watch all the walkways is ________.

Show Hint

Model the diagram as a graph: junctions are vertices, walkways are edges. The minimum number of guards is the minimum vertex cover of that graph. The diagram forms a 5 junction ring, and an odd ring of size n needs at least ceil(n/2) guards.
Updated On: Jul 22, 2026
  • 2
  • 3
  • 4
  • 5
Show Solution

The Correct Option is B

Solution and Explanation

Instead of quoting a formula for cycles, we can just try placing fewer and fewer guards and see what breaks. The diagram has 5 junctions joined in a ring: going around, top, left shoulder, bottom left, bottom right, right shoulder, and back to top, with 5 walkways total.

  1. Trying 1 guard: a single junction only touches 2 of the 5 walkways, so 3 walkways would have no guard nearby. Not enough.
  2. Trying 2 guards: two junctions touch at most 4 walkway ends between them (2 walkways each), but the ring has 5 walkways, and however the 2 guards are placed, at least one walkway ends up with neither of its junctions guarded. Not enough.
  3. Trying 3 guards: place guards at the top junction, the left shoulder junction, and the bottom right junction. Walking through the 5 walkways one by one: top-left shoulder has both ends guarded, top-right shoulder has the top guarded, left shoulder-bottom left has the left shoulder guarded, bottom left-bottom right has the bottom right guarded, and bottom right-right shoulder has the bottom right guarded. Every single walkway has at least one guarded end.
  4. Could 3 be beaten: since 2 guards were shown to always miss a walkway, 3 is the smallest number that works.

So the minimum number of guards is 3, confirmed by direct trial rather than a formula, which matches option (B).

Let's summarize:

  • The walkway diagram is a closed ring of 5 junctions and 5 walkways.
  • With only 1 or 2 guards, some walkway is always left unwatched.
  • Placing guards at 3 well chosen junctions, alternating around the ring, covers every walkway.

The correct answer is 3 guards.

Was this answer helpful?
0

Top Questions on Analytical Reasoning