Status: IN
The function runs in O(n log n) time dominated by the sort, with O(n) auxiliary space.
Source: entries/2026/06/06/relative-ranks-solution.md
JSON