Introduction
Many ranking problems give a person's position counted from the top (or left) and from the bottom (or right). Converting between these two references quickly and accurately is a frequent aptitude requirement.
This pattern is important because a single person’s ranks from both ends immediately reveals the total size - and from that you can answer a range of follow-up questions.
Pattern: Combined Rank from Two Lists
Pattern
Key concept: Total = (Rank from top) + (Rank from bottom) - 1.
Useful derived formulas:
- If a person is rtop from top and rbottom from bottom, then total n = rtop + rbottom - 1.
- If total n and one-side rank are known, opposite-side rank = n - (given rank) + 1.
- When asked how many between two people whose ranks are from opposite ends, convert both to the same reference first (people-ahead or position-from-top) and apply difference formulas.
Step-by-Step Example
Question
Anu is 7th from the top of a class and 18th from the bottom. Find the total number of students in the class.
Solution
-
Step 1: Write the given ranks
Rank from top = 7; Rank from bottom = 18. -
Step 2: Apply the combined-rank formula
Total = 7 + 18 - 1 = 24. -
Step 3: Quick verification by conversion
Anu’s position from bottom computed from total: 24 - 7 + 1 = 18 → matches given, so total = 24 is correct. -
Final Answer:
24 students. -
Quick Check:
Top rank 7 → 6 ahead; bottom rank 18 → 17 below; 6 ahead + 1 (Anu) + 17 below = 24 ✅
Quick Variations
1. If given one-side rank and total, compute opposite-side rank as n - given + 1.
2. If two different people have ranks from opposite ends, convert both to the same end (e.g., both to "from top") before computing between-counts.
3. When told a person’s rank changes after additions/removals at one end, adjust total first if needed and reapply conversions.
4. If asked how many between person X (rtop) and person Y (rbottom), convert Y to top reference and use |rY_top - rX| - 1.
Trick to Always Use
- Step 1: If both ranks are given (top & bottom), use
n = top + bottom - 1immediately. - Step 2: If only one rank is given, convert to "people ahead" (rank - 1) for intermediate reasoning.
- Step 3: For counts between two people, convert both to the same reference and apply the difference-minus-one rule.
Summary
Summary
- Use n = (rank from top) + (rank from bottom) - 1 to find total immediately.
- Convert ranks to "people ahead" (rank - 1) when it helps with intermediate steps.
- To switch sides: opposite-rank = n - given-rank + 1.
- For persons with mixed-end ranks, convert both to one side before computing distances or between-counts.
Example to remember:
If someone is 5th from top and 12th from bottom → total = 5 + 12 - 1 = 16 students.
