Order and ranking problems require determining the positions or ranks of people or objects arranged in a line, row, queue, or list. These problems commonly ask for a person's rank measured from one end, conversion of a rank from one end to the other, the total number in the row, the number of persons between two given persons, or positions after interchanges. Such problems appear frequently in competitive and scholastic aptitude tests because they test careful reading, positional reasoning and simple arithmetic.
If a person is rgiven from one end in a row of N persons, then the rank from the other end is \(N - (r_{\text{given}} - 1)\).
If a person's rank is R1 from the left and R2 from the right, then total number of persons is \(R_1 + R_2 - 1\).
Let two persons have ranks R1 and R2 measured from the same fixed side, and suppose the number of persons between them is m. Two useful relations are:
(a) If positions R1 and R2 refer to two ends of a contiguous block and count is consistent without overlap, total can be estimated by \(R_1 + R_2 + m\) depending on context.
(b) For overlapping cases (when counts overlap), use \(R_1 + R_2 - (m + 2)\). Apply (b) only when the overlapping condition holds (see Overlapping vs Not overlapping below).
(a) Simple case (when N, total, is known): \( \text{Between} = N - (r_{\text{left}} + r_{\text{right}}) \).
(b) Overlapping case: \( \text{Between} = (r_{\text{left}} + r_{\text{right}}) - (N + 2) \).
To find the rank of the person exactly midway between two given ranks (measured from the same side), convert both ranks to the same side and take their average. The average gives the position of the middle person (if the number of persons between is odd so a unique middle exists).
Shortcut for maximum and minimum possible numbers in a row:
Preserved figure below illustrates the quick method to estimate maximum and minimum counts given partial ranks.
Note: "Mid no." refers to the number of the middle person when counting positions symmetrically around the centre.
Explanation: Number of persons between Vijay and Jack = 48 - (14 + 17) = 17.
Mary lies in the middle of these 17 persons, so Mary is at the 9th position counting from one end of that block.
Number of persons between Vijay and Mary = 9 - 1 = 8.
Explanation: Total students who passed = 16 + 29 - 1 = 44.
Total boys in class = Passed + Failed + Not participated = 44 + 5 + 6 = 55.
Explanation: After interchange Ajay's new position (13th from left) equals Sunil's earlier position (6th from right).
Number of children in the queue = 13 + 6 - 1 = 18.
Sunil's new position equals Ajay's earlier position, i.e., 5th from left.
Sunil's position from the right = 18 - 5 + 1 = 14th.
Explanation: After interchange Simran is fifteenth from the right and also fifteenth from the left (because she moved to Aman's earlier place which was 15th from left).
Thus number of students in the queue = 14 + 1 + 14 = 29.

Explanation: From the data after interchange, Rita's position becomes 17th from the right; Monika becomes 18th from the left.
Adding gives total = 17 + 9 = 26 (consistent with given positions and interchange).
Explanation: From given change, the shift in Vijay's position implies additional positions introduced to the right side. Jai's new position from left after interchange = 25 + 6 + 1 = 32.
Example 8: Zombo correctly remembers that his father's birthday is before 29th July but after 24th July whereas his younger brother correctly remembers that their father's birthday is after 23rd July but before 28th July and his elder brother correctly remembers that their father's birthday is on an odd date. On which date of July is definitely their father's birthday?
(a) Twenty-five or Twenty-seven
(b) Twenty-seven
(c) Twenty-five
(d) Twenty-six
(e) None of these
Explanation: Zombo: birthday ∈ {25, 26, 27, 28} (before 29, after 24).
Younger brother: birthday ∈ {24? 25? 26? 27?} but strictly after 23 and before 28 ⇒ {24,25,26,27}.
Intersection with Zombo's set gives {25,26,27}.
Elder brother: date is odd ⇒ {25,27}. Thus definite possibilities: 25 or 27.
Explanation: From the statements we can deduce a partial order: Vicky > Xe > William and Vicky > Zojo. Also Yo > Zojo. But the relative order of Yo and Xe (and Yo and Zojo) is not determined uniquely. Possibilities exist where Yo could be second or not second. Therefore data is inadequate.
Explanation: After Komal is shifted 4 places left, her new position from left is 10.
Therefore Komal's original position from left = 10 + 4 = 14.
Swati is 3 places to the right of Komal's original position ⇒ Swati's position from left = 14 + 3 = 17.
Number of girls to the right of Swati = 40 - 17 = 23.
Swati's position from the right = 23 + 1 = 24.
| 1. How do I solve order and ranking questions quickly in GATE exams? | ![]() |
| 2. What's the difference between linear order and circular arrangement in ranking problems? | ![]() |
| 3. How do I handle negative information in order and ranking logic puzzles? | ![]() |
| 4. Why do I keep making mistakes when there are multiple people with similar rank descriptions? | ![]() |
| 5. Can order and ranking questions appear with other logical reasoning concepts combined in GATE? | ![]() |