• + 0 comments

    I think does not work when we have something like [25, 5, 30, 10], but given the fact that the problem defines alice scroes on increasing order that should not be a problem, however I think it may fail when we have something like max_score_leader_board = Z and [5, 10, Z, Z+A, Z+B] acording to my calculus it should give for Z, Z+A and Z+B the rank 1