Class Employee

java.lang.Object
com_github_leetcode.Employee

public class Employee extends Object
  • Field Details Link icon

    • id Link icon

      public int id
      It’s the unique id of each node; unique id of this employee
    • importance Link icon

      public int importance
      the importance value of this employee
    • subordinates Link icon

      public List<Integer> subordinates
      the id of direct subordinates
  • Constructor Details Link icon

    • Employee Link icon

      public Employee(int id, int importance, List<Integer> subordinates)