Five friends P, Q, R, S, and T are sitting in a row. P is to the left of Q but to the right of R. S is sitting at one of the ends. T is sitting to the right of S. Who is sitting in the middle?
Five friends are sitting in a circle. A is to the immediate left of B and to the immediate right of C. D is sitting opposite to A. Who is sitting next to D?