package leetcode;

/**
 * https://leetcode.com/problems/assign-cookies/
 */
public class Problem455 {
    public int findContentChildren(int[] g, int[] s) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem455 prob = new Problem455();
        System.out.println(prob.findContentChildren(new int[]{1, 2, 3}, new int[]{1, 1})); // 1
        System.out.println(prob.findContentChildren(new int[]{1, 2}, new int[]{1, 2, 3})); // 2
    }
}

Update problem 455