smaller-numbers-prefix-sum-correctness

Status: IN

`prefix[v]` equals exactly the count of elements in `nums` with value strictly less than `v`, computed as the cumulative sum of `count[0..v-1]`.

Source: entries/2026/06/06/how-many-numbers-are-smaller-than-the-current-number-solution.md

JSON