Queue-Rank Census - Count of Smaller Numbers After Self
A queue winds through a campus check-in. Each person `i` has a rank `nums[i]` (smaller means junior). For every position `i` from front to back, count how many people strictly behind `i` have a smaller rank than `nums[i]`. Return an array `answer` where `answer[i]` is that count for position `i`.