Count the number of elements smaller than current element on left side.
Ex: Given [10, 30, 50, 20, 70] Output: [0, 1, 2, 1, 4]
[10, 30, 50, 20, 70]
[0, 1, 2, 1, 4]
I Couldn't solve it with any optimal approach.