Problem 315 · Hard

Count of Smaller Numbers After Self

Count smaller elements to the right efficiently.

Open the interactive visualisation