com_github_leetcode.Employee Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leetcode-in-java Show documentation
Show all versions of leetcode-in-java Show documentation
Java-based LeetCode algorithm problem solutions, regularly updated
The 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