Description
During the Elo rating system, calculating
You can check out here to learn how python make it done. In short, set
In Leetcode, I think we can multiply each rating by 10 and round them to integers. The lengths of arrays will be bigger than usual, but the complexity of this algorithm is still perfect.