GATE Civil Engineering

+1 vote

Five friends $P,Q,R,S$ and $T$ went camping. At night, they had to sleep in a row inside the tent. $P,Q$ and $T$ refused to sleep next to $R$ since he snored loudly. $P$ and $S$ wanted to avoid $Q$ as he usually hugged people in sleep.

Assuming everyone was satisfied with the sleeping arrangements, what is the order in which they slept?

- $RSPTQ$
- $SPRTQ$
- $QRSPT$
- $QTSPR$

+1 vote

Best answer

Five friends $P, Q, R, S$, and $T$ are sleeping together.

- $P, Q$, and $T$ refused to sleep next to $R$ since he snored loudly. That means the only possible neighbor for $R$ is $S$ and we should have either $R,S,\_,\_,\_$ or $\_,\_,\_,S,R.$
- $P$ and $S$ wanted to avoid $Q$ as he usually hugged people in sleep. That means the only possible neighbor for $Q$ is $T.$ Thus we get the two possible orders: $R,S,P,T,Q$ and $Q,T,P,S,R.$

Only satisfying option is A.

So, the correct answer is $(A)$ (question should have mentioned "what could be the order" instead of "what is the order" as there are $2$ possibilities)

1,172 questions

139 answers

26 comments

44,303 users