All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com_github_leetcode.Employee Maven / Gradle / Ivy

There is a newer version: 1.24
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy