Mastering single-row and multi-row positional counting is essential for solving basic to intermediate ranking problems efficiently.
- Total Persons in a Row: When a person's rank from the left (L) and right (R) is given, Total = (L + R) - 1, because the person is counted twice.
- Finding Rank from Opposite End: Right Rank = (Total - Left Rank) + 1. Conversely, Left Rank = (Total - Right Rank) + 1.
- Persons Between Two Individuals (Non-Overlapping): If sum of ranks from both ends is less than total persons, Persons Between = Total - (Sum of two given ranks).
- Maximum Persons in a Row: Maximum capacity occurs when there is no overlapping between the given positions: Max = Rank1 + Rank2 + Persons between them.
| Scenario | Key Formula / Condition | Application |
|---|---|---|
| Total Persons (Single Person) | Left + Right - 1 | Finding strength when one person's position from both ends is known |
| Overlapping Condition | (L + R) - Total - 2 | Finding persons between two individuals when maximum overlap occurs |
| Minimum Persons in Row | Sum of Ranks - Persons between - 2 | Calculating minimum row strength in overlapping cases |