package leetcode;

/**
 * https://leetcode.com/problems/most-profit-assigning-work/
 */
public class Problem826 {
    public int maxProfitAssignment(int[] difficulty, int[] profit, int[] worker) {
        // TODO
        return 0;
    }

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

package leetcode;

/**
 * https://leetcode.com/problems/most-profit-assigning-work/
 */
public class Problem826 {
    public int maxProfitAssignment(int[] difficulty, int[] profit, int[] worker) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem826 prob = new Problem826();
        System.out.println(prob.maxProfitAssignment(new int[]{2, 4, 6, 8, 10},
            new int[]{10, 20, 30, 40, 50}, new int[]{4, 5, 6, 7})); // 100
    }
}

Update problem 826