Question d’entretien chez ByteDance

Reverse pairs on LeetCode (difficulty: hard)