Biased standings code

in the given code:
actual rank always starts from 1.
what if the case is that the requests rank by teams are {99,98,97}
in that case what would be the appropriate solution?

In the question it is given that the requests rank is between 1 to n where n is number of people. in your case n=3, so requests rank will be between 1 to 3. So, your will not be there in this question.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.