# Order and Ranking: Instructions

Type (1): To find the position or rank from the left or right side.

Position of a person from the left or right side = [(Total number of persons - Position of the same person from the left or right side) + 1]

Type (2): To find the total number of persons in a given sequence.

Total number of persons = [(Position of a person from both side) - 1]

Type (3): To find the number of people sitting between two perticular persons in a sequence.

(a) When the sum of positions of two different persons from both the end is less than the total number of persons in a sequence.

Number of people between two perticular persons = [total number of persons - Sum of positions of two different persons from both side]

(b) When the sum of positions of two different persons from both the end is greater than the total number of persons in a sequence (Case of overlapping).

Number of people between two perticular persons = [Sum of positions of two different persons from both side - (Total number of persons + 2)]

Type (4): To find the position of a person, who is sitting exactly in the middle in a sequence.

Position of the middle person = [(people are sitting between two different persons + 1)/2]

Type (5): To find the minimum or maximum total number of persons in a sequence.

(a) Minimum total number of persons in a given sequence (Case of overlapping).

Total number of persons = [(Position of the persons from both side) - (People between two different persons + 2)]

(b) Maximum total number of persons in a given sequence.

Total number of persons = [People between two different persons + Position of the persons from both side]

Type (6): When positions of two persons are given and their positions are interchanged to each other and position of one person is given after interchanging from the same side as before the interchanging.

Total number of persons = [(position of first person from one end after interchanging + position of first person from another end after interchanging) - 1]

Position of second person after interchanging from the same side as before interchanging = [(Total number of persons - position of second person from another side after interchanging) + 1]