Five friends, P, Q, R, S, and T, are sitting in a row. R is sitting to the left of S but not next to P. Q is sitting at one of the ends. Who is sitting in the middle?

Answer: D. T
Since Q is at one end and R is to the left of S, T must be in the middle.