@@ -0,0 +1,463 @@
+import java.util.Arrays;%0A%0Apublic class Solution %7B%0A%0A    public int findContentChildren(int%5B%5D g, int%5B%5D s) %7B%0A%0A        Arrays.sort(g);%0A        Arrays.sort(s);%0A%0A        int gIndex = 0;%0A        int sIndex = 0;%0A%0A        while (gIndex %3C g.length && sIndex %3C s.length) %7B%0A%0A            if (g%5BgIndex%5D %3C= s%5BsIndex%5D) %7B%0A                gIndex++;%0A                sIndex++;%0A            %7D else %7B%0A                sIndex++;%0A            %7D%0A%0A        %7D%0A%0A        return gIndex;%0A%0A    %7D%0A%0A%7D%0A

Create : 121 Best Time to Buy and Sell Stock