filmov
tv
LeetCode 870. Advantage Shuffle | Python

Показать описание
March LeetCoding Challenge 2021
___________________________________________________________________________
Given two arrays A and B of equal size, the advantage of A with respect to B is the number of indices i for which Ai is bigger than Bi
Return any permutation of A that maximizes its advantage with respect to B.
___________________________________________________________________________
#LeetCode #MarchLeetCodingChallenge2021 #Python #870 #AdvantageShuffle
___________________________________________________________________________
Given two arrays A and B of equal size, the advantage of A with respect to B is the number of indices i for which Ai is bigger than Bi
Return any permutation of A that maximizes its advantage with respect to B.
___________________________________________________________________________
#LeetCode #MarchLeetCodingChallenge2021 #Python #870 #AdvantageShuffle