Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
What can you say about the position of the shortest person? </br> If the position of the shortest person is <i>i</i>, how many people would be in front of the shortest person?
Once you fix the position of the shortest person, what can you say about the position of the second shortest person?