• + 0 comments

    Correct me if I am worng, I think this solution works only when the first element in the player is less than last element of ranked array. Remaining elements of player array sholud be greater than the least element of ranked array. For example: if ranked= [100 90 90 80 75 60] and player = [50 55 65 77 90 102] it doesnt satisfy.