ExamSaathi learning library · Government exams · SSC CGL general intelligence and reasoning; published syllabus labelled 2024 · General intelligence and reasoning
Ranking and order: positions from the top and the bottom
Work out a position from either end of a row or rank list, the total in the row, the people between two persons and the effect of a swap, and build a full order from comparisons of height or marks.
Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.
You will learn to
- Find the total in a row, or a person's rank from the other end, from positions counted at both ends.
- Count the persons between two people in a row after writing both positions from the same end.
- Work out new positions and the total in a row when two people swap places.
- Arrange people in order of height or marks from comparison statements and name the person at a given rank.
Before you start
Ranking questions place people in a row, a queue or a merit list, then ask for a position, a total or a count. Every position is counted from a named end: the left or right end of a row, the front or back of a queue, or the top or bottom of a list. In a merit list, 1st from the top has the highest marks and 1st from the bottom has the lowest. The person being described is counted in their own position, so the first person from the left is 1st. Unless the question says otherwise, take everyone as standing in one straight line with no shared ranks. A quick sketch, a line with each named person marked on it, clears up most doubts.
Counting from both ends
Say a person is in place a from one end and in place b from the other. Counting from the first end covers the a - 1 people before them and the person too; counting from the other end covers the b - 1 people after them and the person again. The person is counted twice, so total = a + b - 1. Turned round, position from the other end = total - a + 1. In a list of 40 students, the one 12th from the top is 40 - 12 + 1 = 29th from the bottom, because 28 students scored less. For an odd total n, the person exactly in the middle is at (n + 1)/2 from both ends: in a row of 25 the middle place is 13th, with 12 people on each side. This is the same position that locates the median of an odd number of ordered values. An even total such as 30 has no single middle person; the two central places are the 15th and the 16th.
People between two persons
To count the people between two persons, write both positions from the same end first. If Anu is 6th from the left and Balu is 15th from the left, the people between them fill places 7 to 14, which makes 15 - 6 - 1 = 8. Subtract the smaller position from the larger and take away 1 more, since neither named person stands between. When the two positions are counted from opposite ends, convert one of them with total - position + 1 before you subtract. If the positions come from opposite ends and the total is not given, the two persons could stand in either order. Gita is 9th from the left and Hari is 6th from the right, with exactly 3 people between them. With Gita to the left of Hari, the row holds 9 + 3 + 6 = 18 people; with Hari to her left, it holds only 10. A fair question then states the order or asks for the least or greatest total.
When two people swap places
In a swap, each person moves into the other's exact place. So the new position of one is the old position of the other, counted from the same end. Suppose Neeraj is 10th from the left and Sonal is 12th from the right. After they swap, Neeraj is 18th from the left. Neeraj now stands where Sonal stood, so her old place was 18th from the left and also 12th from the right, and the row has 18 + 12 - 1 = 29 people. Sonal now stands in Neeraj's old place, 10th from the left, which is 29 - 10 + 1 = 20th from the right. A swap leaves the total and everyone else's place unchanged.
Ordering by height or marks
Some questions give comparisons instead of positions: Rohit is taller than Salim, Salim is taller than Tanu, and so on. Write each statement with a > sign from the taller person, or the higher scorer, to the other, then join the links into one chain. From P > Q and Q > R you can conclude P > R. From P > Q and P > R alone you cannot tell whether Q or R comes higher. Before answering, check that every person has one fixed place. That is so exactly when each pair of neighbours in your chain is compared directly in the statements. If two people could still change places, a question about their ranks has no single answer. Once the chain is fixed, the rank from the top is the place in the chain, and the rank from the bottom follows from the counting rule: in a chain of 6, the 2nd from the top is 5th from the bottom.
Common mistakes
The most frequent slip is adding the two positions of one person and forgetting to take away 1, which counts that person twice. A similar slip hits the between count: 20 - 7 gives 13, but only 12 people stand between the 7th and the 20th, because the 20th person is not between them. Another trap is subtracting a position counted from the left from one counted from the right without converting it first. In a swap, some learners add the old and new positions of the same person. Instead, use the fact that one person's new place is the other person's old place. Read the ends with care, since 1st from the top of a merit list has the highest marks. With comparisons, do not assume an order that the statements leave open.
A routine for ranking questions
1. Draw a line for the row, queue or list and label both ends. 2. Mark each named person with the given position and the end it is counted from. 3. Convert positions so that any two you compare are counted from the same end, using total - position + 1. 4. For the total, add one person's two positions and subtract 1. 5. For the people between two persons, subtract their positions and take away 1. 6. For a swap, give each person the other's old place. 7. For comparisons, build one chain and confirm that no two people can change places. 8. Count on your sketch to check the answer before you pick an option.
Worked examples
In a queue at a ration shop in Nashik, Imran is 14th from the front and 23rd from the back. How many people are in the queue?
- Counting from the front includes Imran, and counting from the back includes him again, so he is counted twice.
- Total = 14 + 23 - 1 = 36.
- Check: 13 people stand ahead of Imran and 22 behind him, and 13 + 1 + 22 = 36.
Answer: There are 36 people in the queue.
In a row of students facing the stage, Pooja is 11th from the left and Deepak is 17th from the right. They swap places, and Pooja is now 24th from the left. How many students are in the row, and what is Deepak's new position from the right?
- After the swap, Pooja stands in Deepak's old place, so that place is 24th from the left. It was also 17th from the right.
- Total = 24 + 17 - 1 = 40 students.
- Deepak now stands in Pooja's old place, 11th from the left. From the right, that is 40 - 11 + 1 = 30th.
- Check: 11 + 30 - 1 = 40, the same total.
Answer: There are 40 students in the row, and Deepak is now 30th from the right.
In a class test, Aman scored more than Bhavna but less than Chitra. Dinesh scored less than Bhavna, and Esha scored more than Aman but less than Chitra. No two of them scored the same. Who scored the second highest, and what is Bhavna's rank from the bottom?
- Write each statement as links, higher score first: Chitra > Aman > Bhavna, Bhavna > Dinesh, and Chitra > Esha > Aman.
- Join the links: Chitra > Esha > Aman > Bhavna > Dinesh. Each pair of neighbours in this chain is compared directly, so no two people can change places.
- The second from the top is Esha. Bhavna is 4th from the top of 5, so from the bottom she is 5 - 4 + 1 = 2nd.
Answer: Esha scored the second highest, and Bhavna is 2nd from the bottom.
Practice checks
- In a merit list of 52 candidates with no ties, Farida is 17th from the top. What is her position from the bottom?
- In a row of 48 children, Tanvi is 14th from the left and Kabir is 21st from the right. How many children stand between them?
- Ritu stands exactly in the middle of a queue and is 19th from the front. How many people are in the queue?
- In a row, Deepa is 8th from the left and Jatin is 13th from the right. When they swap places, Deepa becomes 20th from the left. How many people are in the row?
- Among six friends, Gauri is taller than Ishaan, Farhan is taller than Gauri, Ishaan is taller than Hemant, Jaya is taller than Farhan, and Hemant is taller than Kiran. Who is the second shortest?
Sources checked
- SSC CGL Scheme and Syllabus, labelled 2024 — Tier-I General Intelligence and Reasoning (problem solving, arithmetical reasoning); not verified as the full 2026-cycle syllabus
- OpenStax, Contemporary Mathematics — Chapter 8 Formula Review, section 8.3: for n data values ordered from smallest to largest, the median is the value at position (n + 1)/2 when n is odd, and the two middle values are at positions n/2 and n/2 + 1 when n is even; mathematical relationships only