package leetcode;

/**
 * https://leetcode.com/problems/advantage-shuffle/
 */
public class Problem870 {
    public int[] advantageCount(int[] A, int[] B) {
        // TODO
        return null;
    }

    public static void main(String[] args) {
        Problem870 prob = new Problem870();
    }
}

package leetcode;

/**
 * https://leetcode.com/problems/advantage-shuffle/
 */
public class Problem870 {
    public int[] advantageCount(int[] A, int[] B) {
        // TODO
        return null;
    }

    public static void main(String[] args) {
        Problem870 prob = new Problem870();
        System.out.println(prob.advantageCount(new int[]{2, 7, 11, 15}, new int[]{1, 10, 4, 11})); // [2,11,7,15]
        System.out.println(prob.advantageCount(new int[]{12, 24, 8, 32}, new int[]{13, 25, 32, 11})); // [24,32,8,12]
    }
}

Update problem 870