Yao's Page ✨
Welcome to my page! I mostly use this space to write about software.
You are given an integer array A and you have to return a new counts array. The counts array has the property where counts[i] is the number of smaller elements to the right of A[i].