My starting point for this exercise was to apply a simple racing-rank to a list of integer values.
Here’s my list… 8, 4, 5, 6, 6, 3, 5, 9, 10, 1, 0, 6.
And this is my expectation…
0 = 1st
1 = 2nd
3 = 3rd
4 = 4th
5 = 5th (there are two items in 5th place)
6 = 7th (there are three items in 7th [...]