com_github_leetcode.Employee Maven / Gradle / Ivy
package com_github_leetcode;
import java.util.List;
@SuppressWarnings("java:S1104")
public class Employee {
    /** It's the unique id of each node; unique id of this employee */
    public int id;
    /** the importance value of this employee */
    public int importance;
    /** the id of direct subordinates */
    public List subordinates;
    public Employee(int id, int importance, List subordinates) {
        this.id = id;
        this.importance = importance;
        this.subordinates = subordinates;
    }
}
      © 2015 - 2025 Weber Informatics LLC | Privacy Policy