@@ -0,0 +1,394 @@
+class Solution %7B%0A    public int%5B%5D smallerNumbersThanCurrent(int%5B%5D nums) %7B%0A        int%5B%5D ret = new int%5Bnums.length%5D;%0A        for (int i = 0; i %3C nums.length; i++) %7B%0A            int cur = i;%0A            for (int j = 0; j %3C nums.length; j++) %7B%0A                if (j != i && nums%5Bj%5D %3C nums%5Bi%5D) %7B%0A                    ret%5Bcur%5D++;%0A                %7D%0A            %7D%0A        %7D%0A        return ret;%0A    %7D%0A%7D%0A

How Many Numbers Are Smaller Than the Current Number