func countSmaller(nums []int) []int { n := len(nums) if n }