Calculate Kendall distance between a pair of rankings
DistancePair(r1, r2)
r1
r2
Kendall distance value
Useful links