• + 2 comments

    I'm a bit confused, it doesn't make sense for me the samples: ranked: [100, 100, 50, 40, 40, 20, 10] players: [5, 25, 50, 120];

    // Expected Output: [6, 4, 2, 1] // My Output: [8, 3, 5, 1]

    Because what would happen if I've got players [5, 25, 50, 100, 120]? What is suppose to do with 120 and 100 scores? 100 = the first place? and what about 120? th