Question 1
In a queue of 50 people, Ram is 10th from the left and Sita is 11th from the right. There is an odd number of people between them. Gita stands exactly in the middle of Ram and Sita. What is Gita's rank from the right?
Rank(Sita,L) = 50 - 11 + 1 = 40. Between = 40 - 10 - 1 = 29 (odd). Gita is central, so Rank(Gita,L) = 10 + (29//2) + 1 = 25. Rank(Gita,R) = 50 - 25 + 1 = 26.