Ranking questions give a person's position in a row or a class from one or both ends and ask for the total, the position from the other end, or the number of people between two persons.
Core formulas (single row):
- Total = rank from left + rank from right − 1.
- Rank from the other end = total − given rank + 1.
- People between two persons (both counted from the same end) = difference of ranks − 1.
Worked example: Asha is 12th from the left and 9th from the right in a row. How many students are in the row?
Total = 12 + 9 − 1 = 20. (Asha is counted in both ranks, so she is subtracted once.)
Second example: In a row of 30, Mohan is 8th from the left. His rank from the right = 30 − 8 + 1 = 23.
Between two persons: if P is 5th and Q is 10th from the left, persons between them = 10 − 5 − 1 = 4. If ranks are from opposite ends, first convert one of them to the same end using the total.
Order comparisons (taller, heavier, more marks): write the people in a single line from highest to lowest as each clue arrives; use ">" between them. A person "taller than only one" is second from the bottom.
Common traps: forgetting the "−1" (double counting), mixing ranks from different ends without converting, and assuming overlap is impossible — if left rank + right rank of two different persons exceeds the total, their positions overlap and the count between them changes. Draw a short row diagram whenever in doubt.