For each element, count how many numbers to its right are smaller.
Constraints
Example
```python >>> count_smaller([5, 2, 6, 1]) [2, 1, 1, 0] >>> count_smaller([-1, -1]) [0, 0] >>> count_smaller([]) [] >>> count_smaller([3, 2, 1]) [2, 1, 0] ```
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints