Interviews Questions, Algorithms, Aptitude, C Interview Program, C Theory Question, Aptitude Tricks, Test Series,

Sunday, 7 April 2019

RANKING

 
RANKING :

First of all, we do,
Read the statement line by line carefully.

Position can be either side of row and rank is top to bottom of a row.

Rank of a person from lower – total persons in the row - rank of that person from upper+1

Rank of a person from right = total persons in the row- rank of that person from left + 1

Rank of a person from upper = total persons in the row - rank of that person from lower + 1

Rank of a person from left = total persons in the row- rank of that person from right+ 1

The total person in row = rank of a person from the upper/ left + rank of a person from lower/
right – 1

0 comments:

Post a Comment