LeetCode
Count of Smaller Numbers After Self
Click
here
for an explanation.